# How to hide map on Listing Page

**URL:** <https://community.hivepress.io/t/how-to-hide-map-on-listing-page/16619>\
**Category:** Geolocation\
**Created:** [August 29, 2025, 7:27pm UTC](https://community.hivepress.io/t/how-to-hide-map-on-listing-page/16619 "2025-08-29T19:27:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheFreak](https://community.hivepress.io/user_avatar/community.hivepress.io/thefreak/32/14653_2.png) [@TheFreak](https://community.hivepress.io/u/TheFreak)\
**Post date:** [August 29, 2025, 7:27pm UTC](https://community.hivepress.io/t/how-to-hide-map-on-listing-page/16619/1 "2025-08-29T19:27:08Z")

</div>

Hi HivePress,

Quick question for you and I know that you have a few posts on this topic, so I’ll be brief. You have your standard Listing Page that has a Map on it - [https://www.carsfreak.com/listings/](https://www.carsfreak.com/listings/) and it’s not really the best for the “First Impression” of the listings if there are not a lot of listings on a new website.

I was going to edit it using Code Snippets within the child theme, but would I be better off just creating a Template and rebuilding a new “Listings” (name it something else), making that the page link on the header instead of messing with the default listing page?

Thanks for your assistance here.

John

---

<div class="post-metadata">

**Author:** ![kseniia](https://community.hivepress.io/user_avatar/community.hivepress.io/kseniia/32/13513_2.png) [@kseniia](https://community.hivepress.io/u/kseniia)\
**Post date:** [September 1, 2025, 10:56am UTC](https://community.hivepress.io/t/how-to-hide-map-on-listing-page/16619/2 "2025-09-01T10:56:11Z")

</div>

Hi,

Could you please clarify whether you would like to hide the map until the site expands, or you want other changes in your site? If you want to hide the map on the Listing Page, please see the solution in this topic:

> [@How to Remove Map from Listing Page?](https://community.hivepress.io/t/how-to-remove-map-from-listing-page/13849):
>
> Many people have already discussed this and found solutions using CSS to hide the map from the listing page. But let’s be real, what’s the point of just hiding it? The map isn’t entirely free like other elements in HivePress. If you get a lot of visitors, you’ll eventually have to pay for map API usage. Even if you hide the map with CSS, the API calls still happen in the background, costing you money. So, I searched the HivePress community for a proper solution and found a code snippet on [HiveP…](https://gist.github.com/hivepress/)

Hope this helps

---

<div class="post-metadata">

**Author:** ![TheFreak](https://community.hivepress.io/user_avatar/community.hivepress.io/thefreak/32/14653_2.png) [@TheFreak](https://community.hivepress.io/u/TheFreak)\
**Post date:** [September 18, 2025, 3:34pm UTC](https://community.hivepress.io/t/how-to-hide-map-on-listing-page/16619/4 "2025-09-18T15:34:49Z")

</div>

Thank you for your response about the Map issue. I agree with you on the Map API usage issue. I think the Map is also tied to the Geolocation for having people enter, browse and search listings, so if you turn off the Mapbox or Google Maps function you’re going to probably lose that ability as well, and not just displaying of a map, correct? I’ve just left it alone for now because of this issue being a far bigger concern as our websites scale.

---

<div class="post-metadata">

**Author:** ![kseniia](https://community.hivepress.io/user_avatar/community.hivepress.io/kseniia/32/13513_2.png) [@kseniia](https://community.hivepress.io/u/kseniia)\
**Post date:** [September 19, 2025, 12:21pm UTC](https://community.hivepress.io/t/how-to-hide-map-on-listing-page/16619/7 "2025-09-19T12:21:04Z")

</div>

So basically, there are two ways to hide the map: either with CSS or by using a PHP snippet with the template hook. As was mentioned in another topic, please note that these options don’t globally disable the loading of the map’s JS scripts, so the location search will still work.

---

<div class="post-metadata">

**Author:** ![TheFreak](https://community.hivepress.io/user_avatar/community.hivepress.io/thefreak/32/14653_2.png) [@TheFreak](https://community.hivepress.io/u/TheFreak)\
**Post date:** [September 19, 2025, 9:30pm UTC](https://community.hivepress.io/t/how-to-hide-map-on-listing-page/16619/8 "2025-09-19T21:30:22Z")

</div>

Okay. Thank you. I appreciate it. For now we just made a few other listing pages without the Map and kept the one that comes built-in to the theme.

---

<div class="post-metadata">

**Author:** ![system](https://community.hivepress.io/user_avatar/community.hivepress.io/system/32/13990_2.png) [@system](https://community.hivepress.io/u/system)\
**Post date:** [October 19, 2025, 9:31pm UTC](https://community.hivepress.io/t/how-to-hide-map-on-listing-page/16619/9 "2025-10-19T21:31:16Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
