I am using Location manager on a multisite.
I can deactivate it on certain subsites where I don’t want the multi location search. But I need to remove the “near search” box only on subsites where LM is deactivated.
I can use a custom CSS to “display:none” to the “near search” using a code snippet. Then it will disappear on all subsites.
I need to write a snippet to detect if the “Location Manager” is activated, and then apply the CSS mod active.
How can I detect if the “Location Manager” is activated?
Thank you in advance.
You must be logged in to reply to this topic.