How do you plan to add it to the end of the header template? You can just modify the template and add in that line. If you are going to do a str_replace, you'd be better off putting it at the top of the navbar template since that has a unique string to do a find/replace on.
It is not always best to do automatic template edits. Sometimes it is easier to just add the code.
|