targeting plugin actions
-
Targeting
Hi, I’m writing a simple plug-in that includes info on every entry.(eg like the postmetadata)
Problem is: – without adding a custom hook to the template, how can I tell the plug-in where to add my code?
– I want it to add info immediately after
the_content();
or similar (eg. postmetadata)– Is there a way to target specific areas?
I’ve tried this:
add_action('the_content' , 'myFunction');
But this replaces the whole content, not append it.
I need your help.
Thanks
MAC ??
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘targeting plugin actions’ is closed to new replies.