Restrict a plugin to particular posts or categories?
How could I modify a plugin so that it only shows within the edit page/post area when i’m editing certain items.
Eg: so that a plugin only activates if i’m editing a post from category ’15’, or static page ‘home’.
This could also make a great plugin, “Plugin Management”, perhaps with an options page where you could choose exactly when your edit page/post plugins were shown!
(I’m a plugin newbie by the way so go easy on me)
Thanks for your time.
- The topic ‘Restrict a plugin to particular posts or categories?’ is closed to new replies.