Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Header & Footer Code for Single Page?


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
 
Prev Previous Post   Next Post Next
  #1  
Old Sep 15, 2011, 12:44 PM
GRF
 
69 posts · Mar 2011
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(); ?>
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to put code in loop with instruction for single.php? annsworld Center area post/pages 5 Dec 1, 2012 09:52 PM
Adding Adsense code below Title in Single Posts mkellam Center area post/pages 3 May 9, 2011 04:01 PM
[SOLVED] Add Adsense section targeting code to single.php Stefan72 Center area post/pages 13 Nov 24, 2010 05:58 AM
[SOLVED] Hard code a single page menu link to an existing (non-wordpress) website jms5017 Page & Category Menu Bars 4 Aug 3, 2010 04:45 AM
How to add php code to a 'single' page JakeThePeg Center area post/pages 8 Mar 21, 2010 01:21 AM


All times are GMT -6. The time now is 03:13 PM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.