Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

[SOLVED] Blank Sales Page - No Header / No Footer - For Specific Pages - The Atahualp

Prev Previous Post   Next Post Next
Old Mar 10, 2012, 09:42 AM
20 posts · May 2010
[SOLVED] Blank Sales Page - No Header / No Footer - For Specific Pages - The Atahualp

Here is a non-elegant solution for suppressing the header and/or footer on the Atahualpa theme that I came up:

For the header:

Go to Appearance / Editor
Select Header.php
Find <!-- Header -->
Insert <?php if( !is_page('2548') ) :?>
Find <!-- / Header --> (about 5 lines below <!-- Header -->
Insert <?php endif;?>
Click Update File

That's it. In my case above, I wanted the header on all pages EXCEPT page 2548. Choose your page id accordingly.

The same new lines work for the footer.php file too if you don't want the footer on your page.

For the footer:

Go to Appearance / Editor
Select Footer.php
Find <!-- Footer -->
Insert <?php if( !is_page('2548') ) :?>
Find <?php wp_footer(); ?> (about 16 lines below <!-- Footer -->
Insert <?php endif;?>
Click Update File

I figured out the above from a hodge podge of stuff I found regarding generic Wordpress. I am not a coder - so there may be a lot better way to do this.

I personally find this way to be a pain in the ass since every time I want to add a new sales letter without a header, I have to manually go in and edit the header.php file and add the new page ID - but at least this works.

I would love to see a future version of this great theme include a blank page template choice that would do all of this as easy as a drop down menu. There are a LOT of folks who do sales pages who could use this.

Hope this helps anyone else looking for a workaround for a sales page for the Atahualpa theme.

If anyone has a more elegant solution, I would love to see it!


Last edited by ClearlyRobert; Mar 10, 2012 at 09:46 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Theme activated: blank page, only footer silos Atahualpa 3 Wordpress theme 2 May 24, 2010 06:46 AM
How to put specific SWF files on specific pages as header images? kippiper Header configuration & styling 2 Dec 10, 2009 08:23 AM
How to add widgets to specific page IDs through the Atahualpa Theme Options area? cab262 Sidebars & Widgets 2 Dec 9, 2009 07:52 AM
[SOLVED] How to show 1 specific header image on a static page and on Cat. pages Sakshin Header configuration & styling 24 Oct 3, 2009 04:36 PM

All times are GMT -6. The time now is 02:25 PM.

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