Knowing which page_id a plugin is called from
-
Hi all, I’m trying to work out how to display certain widgets on certain pages. My plugin has a sidebar widget associated with it, but I don’t want it displayed on every page. What I’d like to do is search the_content for my plugin tag before widgets get initialised, but I don’t think this is possible due to WordPress’s load order. Is there a workaround?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Knowing which page_id a plugin is called from’ is closed to new replies.