• I am using the Nirvana theme and would like to add a full-width page template to my child-theme. I have tried a lot of different things that I could find on the internet, without success. This is currently my full-width page template, with only the side-bar removed, although I have tried other things too. Could anyone please help me with this, it would be much appreciated!

    <?php
    /*
    Template Name: Full Width
    */
    get_header();
    if ($nirvana_frontpage==”Enable” && is_front_page() && ‘posts’ == get_option( ‘show_on_front’ )): get_template_part( ‘frontpage’ );
    else :
    ?>
    <section id=”container” class=”<?php echo nirvana_get_layout_class(); ?>”>

    <div id=”content” role=”main”>
    <?php cryout_before_content_hook(); ?>

    <?php get_template_part( ‘content/content’, ‘page’); ?>

    <?php cryout_after_content_hook(); ?>
    </div><!– #content –>
    </section><!– #container –>

    <?php
    endif;
    get_footer();
    ?>

  • The topic ‘[Theme Nirvana] – Full-width template’ is closed to new replies.