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.
- The topic ‘targeting plugin actions’ is closed to new replies.