Use is_page in plugin – how to?
-
Hi all
I’m new to the plugin architecture but as I understand this all plugins run on all page impression?
I have a page called ‘add’ and I want my plugin on this page – only. I can do this by createing a template tag and add that to the page template, but it feels wrong to parse all my plugin code on every page load, in the admin and everyware?
I have tryied using the ‘is_page(‘add’)’ but that seems to work only in templates?
Please some advice / Johannes
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Use is_page in plugin – how to?’ is closed to new replies.