WordPress.org

Ready to get started?Download WordPress

Forums

pages without sidebar? Liquorice 2.0 by Nudge Design (4 posts)

  1. runnycustard
    Member
    Posted 2 years ago #

    Hi

    I'm using Liquorice 2.0 by Nudge Design and I've added a few pages but the sidebar is in all of them!

    I would like the pages to just have their specific content with no sidebar at all... or maybe a different set of widgets (is that possible?)

    I'm a newbie that is easily confused! ;-)

    http://www.runnycustardsfluffybits.co.uk/blog

    thank you for any tips you can offer.

  2. Xam 1.0
    Member
    Posted 2 years ago #

    Usually if you want remove the sidebar from a page you have to delete

    <?php get_sidebar(); ?>

    from the page template. In the case of Liquorice the sidebar is called in the footer. So you need to create a second footer.php, call it footertwo.php. Copy the content from footer.php to the new file except this part

    <div id="secondaryContent">
    <?php get_sidebar(); ?>
    </div>

    then edit your page.php and change

    <?php
      endif;
    
      get_footer();
    ?>

    to

    <?php
      endif;
    
      get_footertwo();
    ?>

    And no more sidebar in the page.

  3. Xam 1.0
    Member
    Posted 2 years ago #

    And to answer your second question, yes you can have different widgets on your page, you can create a second sidebar for the page with it's own custom widgets or you can use a plugin like this one http://wordpress.org/extend/plugins/widget-logic/ to show or hide widgets in specific areas.

  4. runnycustard
    Member
    Posted 2 years ago #

    Thank you!
    I will try this out soon.
    (sorry for the late response but ended up having a very busy day elsewhere!)

    Let's hope I don't break things ;-D

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.