How to disable GeotargetingWP on certain posts/pages?

If you want to disable geotargeting or centain posts or page you can use the following code:

On this example if the page is not search page we disable GeotargetingWP . You can use this filter with WordPress functions to narrow down your criteria.

Check out our WordPress geolocation solutions
to find out everything you can do!

Start your free trial