Header & Footer Code for Single Page?
I'm using v3.6.4 and trying to put some PHP code in a seperate .php page but need to know what the code is to include the header and footer details so that the file looks just like a normal page with all the header,footer and other elements of the page.
I tried using the following but it doesn't work. <?php get_header(); ?> <?php MY CODE ?> <?php get_footer(); ?> |
start with a copy of index.php
|
Quote:
Contents of resourcepartners.php <?php /* get all options: */ # error_reporting(-1); list($bfa_ata, $cols, $left_col, $left_col2, $right_col, $right_col2, $bfa_ata['h_blogtitle'], $bfa_ata['h_posttitle']) = bfa_get_options(); get_header(); extract($bfa_ata); MY PHP CODE ?> <?php get_footer(); ?> |
All times are GMT -6. The time now is 10:41 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.