Running PHP code in template
Hi. The navigation for our main site is generated dynamically. I'd like to use the same navigation at the top of our forum. Essentially, all I really need to do is include a php file in the "header" template.
I'm sure this question has been answered many times before, but I've been searching and searching and can't find anything that explains it completely (just something about defining variables somewhere that can be used in templates? or using hooks?)
Thanks.
|