No Header, No Footer Template


Many themes come with a No Header, No Footer template which is basically just a blank slate for creating custom pages that have a seperate appearence from the rest of the site. How can I implement a page template like that with Beans?

Thanks for any help you'd be so kind as to offer.


Hymmm! I would be interested in this too.


Hi,

you can add

beans_remove_action( 'beans_header_partial_template' );
beans_remove_action( 'beans_footer_partial_template' );

to your page template to remove the header and footer.


Thanks Christopher


Thanks for the help, Christoph.

This is the final code I used, for the sake of public reference:

<?php

/* Template Name: No Header, No Footer */

beans_remove_action( 'beans_header_partial_template' );
beans_remove_action( 'beans_footer_partial_template' );
beans_load_document();

?>

Then you can get rid of the sidebar as well in post options.

Write a reply

Login or register to write a reply, it's free!