Including PHP in Footer


I have a very simple PHP include that I want to place in the footer template but apparently PHP is not parsed in template files.

What would be the easiest way to include a PHP file in the footer of my pages?


Well-known member
Unless you want to start using iframes, you'll need to do this as a plugin.

Have a look at this thread:

There's some good advice there but even better, a downloadable .zip plugin if you scroll down through the posts which you can install. Then you need to edit the plugin to put in your own PHP and look for whatever hook (in the templates) where you want to execute your PHP. Or, edit a template and put your own hook in if you want to run your PHP somewhere there isn't already a hook.

If you need any more help with this just ask.