Problems with Wordpress templates

Discussion in 'PHP' started by Triexa, Nov 18, 2006.

  1. #1
    I posted this in wordpress forums but got no bite...

    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!
     
    Triexa, Nov 18, 2006 IP