Detect a sidebar on a page
-
This plugin is awesome. Basically I’m looking to make my page template a bit more dynamic. If there’s a custom sidebar chosen in the select box, show the sidebar. If there isn’t (ie., blank) do not output sidebar at all.
This is likely to be an if() around the sidebar…just not sure which theme variable to be checking inside the WordPress ecosystem. Any ideas?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Detect a sidebar on a page’ is closed to new replies.