How I can exclude Mapbox loads from source code for some pages?

I dont need load mapbox on text page like contact or about us,
how i can disable loadind mapbox sources by some php snippet?
exemple: From pages with IDs: 24, 36 and 99

Hi,

Unfortunately, there’s no such feature, it would require a custom implementation. If customizations are required for your site, please try customizing it using the collection of code snippets Search · user:hivepress · GitHub and other developer resources, or consider hiring someone for custom work https://fvrr.co/32e7LvY

I’m sorry, but this makes the Hivepress plugin really amateurish. Is it okay for you to extend the loading of the page by 1.5 seconds? :nauseated_face:

Please remember that you use open-source software, and people supporting you are basically volunteers. If you don’t like HivePress, you can use another plugin instead 8 Best WordPress Directory Plugins [Compared] | HivePress
If someone is being rude or harasses our support staff, we reserve the right to refuse to provide support FAQ - HivePress Community which is the case here. I hope you’ll find a better solution for your website.

1 Like