How to automatically add php code to the top of each post???
-
I’ve been searching the Plugins & just haven’t been able to locate what I need (yet), perhaps someone can point me in the right direction.
I use a tracking solution that allows me to track visitors from search term through to conversion at the keyword level. However, I’ve got to jump through a couple of hoops.
To enable this solution, I use PHP-Exec, disable the visual editor, and add a little snippet of PHP code to the top of every post/page content entry (no, it doesn’t work if I add it into the template).
I’d like to know if there’s a plugin/hack that will let me specify a snippet of code to appear ‘automagically’ at the top of every post before I begin adding content?
OR, perhaps a button I can add to the editor that will insert the code wherever my cursor lies when I push said button?
Any suggestions would be helpful
Thanks,
Ron Jones
- The topic ‘How to automatically add php code to the top of each post???’ is closed to new replies.