Fork me on GitHub
Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
Important security fix: 2.1.10, released 4 May.

Can you use PHP in default.master.tpl?

edited March 2011 in Vanilla 2.0 Help
I tried putting some PHP code into the default.master.tpl file of my template in an attempt to load the wordpress header.php, but it does not get parsed. When I view the source online, the PHP code is unchanged and appears to just be ignored. I also tried wrapping it in the {literal} tag to no avail. Can someone tell me if it's possible to embed PHP in this file?
«13

Comments

«13
Sign In or Register to comment.