First Time WordPress Plugin Questions
-
Need to code what I think should be a fairly simple plugin but have a few newbie type questions about how the plugin system works in relation to templates.
I need to code a small plugin that will get called from within a template to provide a small string of text based on the current URL of the visitor.
I’m having a little trouble figuring out which action I’d use or if that’s even the route to go.
Basically I just want the template to have:
<?php my_plugin_function(); ?>
Somewhere in it and then that calls the plugin. But not getting what I’d actually put in my plugin to make that possible or at least SOMETHING like that possible.
Any help is appreciated. And sorry for whats probably a ridiculously obvious question.
Jamie
- The topic ‘First Time WordPress Plugin Questions’ is closed to new replies.