I’m using RentalHive with the Geolocation extension, and I’d like to display just the interactive map with all published listings on the homepage — without rendering the listing grid, filters, or view toggles.
Desired result:
On the homepage:
A full-width map with markers for all active listings
No listing cards
No filters
No pagination
Ideally, no additional container markup from the [hivepress_listings] shortcode
What I’ve tried:
Using the [hivepress_listings view="map" show_map="1" per_page="0"] shortcode → still outputs listing cards
Hiding elements with CSS (e.g. .hp-listing--view-block) → works, but not clean and may break other pages
Tried [hivepress_map] — doesn’t exist
Looked for a specific map shortcode or a callable template partial — no luck in the docs
My request:
Could you please advise:
Is there a dedicated HivePress function or template part (e.g. hivepress()->template->get_part(...)) to render only the map block with markers?
If not, is there a clean way to:
Call the map markup with listings injected as markers (filtered by status = published)
Inject this into front-page.php without bringing in listing cards?
If this is not currently supported — what would be the best practice to implement this as a custom block?
I’m fine with using PHP, child theme templates, or even custom shortcodes — I just want to avoid hacky CSS tricks or stripping markup via JS.
Thank you in advance — your plugin is brilliant, and this would be a game-changer for many use cases (like showcasing vendors or rentals by location only).
In addition, just wanted to share - I was trying to change the size of the map, div class and css didn’t work well, so here’s my solution which worked well