Side Bar diplay

  • bjeffries


    How do I turn off the sidebar on some pages but not others? There are a few pages where I just want a single column but the rest of the site I would like there to be the sidebar.



    Edit the page, in right side you have page settings option for one column, no sidebar.




    sorry for the late reply. I tried that option but thats a specific template. I have 5 custom made template that do not call on the loop and have specific HTML for what those pages pertain to. So when I call header and footer it posts the side bar.

    I tried creating a page BlastFromThePast-single.php and using this code:

    * Template Name: Blast From The Past Single
    get_header(); ?>
    <?php get_template_part('BlastFromThePast', 'single'); ?>
    <?php get_footer(); ?>

    and on the BlastFromThePast.php page it has this code:

    <?php get_header(); ?>
    <? /** all my HTML **/ ?>
    <?php do_action('graphene_bottom_content'); ?>
    <?php get_footer(); ?>

    but that doesn’t load the page.

    Thanks for your help


    Syahir Hakim


    Try adding the following code at the top of the template file before the get_header() call:

    global $graphene_settings;
    $graphene_settings['column_mode'] = 'one-column';



    worked wonderfully. Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)

  • You must be logged in to reply to this topic.
Graphene Themes Forum