Blank template with the_content only


/**
 * Since you are replacing 1/3 of the theme,
 * you can do it with the WordPress way.
 *
 * Instead of loading the entire document, `beans_load_document()`,
 * load only parts that you want.
 *
 * Template Name: Blank Page
 */

/**
 * Here you can modify the Beans Header and Footer sections ONLY,
 * using their helper functions.
 */

// beans_add_attribute(); // just an example.
beans_add_filter( 'beans_layout', 'c' ); // show content only.

/**
 * After changes, load the parts you want
 * and not the entire document `beans_load_document()`.
 */

// Load Beans header only.
get_header();

// Your custom content here.
the_content();

// Load Beans footer only.
get_footer();

Write a reply

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