Problems with templates
-
I tried to modify the header.php file for the template to just require() my global header for my site.
Two issues I noticed right away were:
I use $sql for the link to MySQL… I see WordPress uses it to hold the queries. What can I do?I also had some issues with scope, where declared variables in MY header.php file were not available through $GLOBALS[‘var_name’]
Any input, any ideas?
Thanks!
The topic ‘Problems with templates’ is closed to new replies.