• 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! ??

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

    thank you for any tips you can offer.

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    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 https://www.ads-software.com/extend/plugins/widget-logic/ to show or hide widgets in specific areas.

    Thread Starter runnycustard

    (@runnycustard)

    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘pages without sidebar? Liquorice 2.0 by Nudge Design’ is closed to new replies.