infocraze
03-10-09, 23:33
Hi,
I have the client software installed in the root directory of my website and wordpress in a subdirectory. I need to include the page_header.tpl within my wordpress theme header.php file, I am not sure if this is possible. I tried the following code:
<?php
$smarty->display('file:/the/path/public_html/templates/default/elements/page_header.tpl');
?>
This gave Fatal error: Call to a member function display() on a non-object in
Any advice on the right codes for both header and footer tpl file calls would be much appreciated.
Thanks.
I have the client software installed in the root directory of my website and wordpress in a subdirectory. I need to include the page_header.tpl within my wordpress theme header.php file, I am not sure if this is possible. I tried the following code:
<?php
$smarty->display('file:/the/path/public_html/templates/default/elements/page_header.tpl');
?>
This gave Fatal error: Call to a member function display() on a non-object in
Any advice on the right codes for both header and footer tpl file calls would be much appreciated.
Thanks.