Check If Custom Sidebar Exists
-
Is there a function I could use or an easy way to check if a custom sidebar exists on a page?
Reason being is I have a related content box placed in my theme that is not a part of the actual sidebar that I don’t want to display if a custom sidebar is being placed on the page. I would like it to disappear so the custom sidebar pushes up the page.
Was curious if there was a simple check or function check that would not display the related content box if a custom sidebar exists.
Thank you for the great plugin!
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Check If Custom Sidebar Exists’ is closed to new replies.