Ok a little new to this still. As I understand it, if I wanted to execute some php code at a specific location that location is a hook. And to add that code, that's a plugin.
I guess the question is can I add a hook to the footer? I have a few external HTML and PHP code that I want to include in the wrapper around the board, and if I understand correctly I can't put the raw code in the header or footer templates.
EDIT: And for the external HTML, I don't want to have to edit the template directly to change the small chunk of HTML, in an external file is better in my case.
Or am I totally on the wrong track?
TIA
I guess the question is can I add a hook to the footer? I have a few external HTML and PHP code that I want to include in the wrapper around the board, and if I understand correctly I can't put the raw code in the header or footer templates.
EDIT: And for the external HTML, I don't want to have to edit the template directly to change the small chunk of HTML, in an external file is better in my case.
Or am I totally on the wrong track?
TIA
Comment