WordPress.org

Support

Support » Themes and Templates » Billions » Billions Theme – want one page to NOT have sidebar

Billions Theme – want one page to NOT have sidebar

  • deegraham

    @deegraham

    In other themes, I’ve been able to NOT use a sidebar on a page, but do not see where that is possible on Billions. I hope I am missing something… Is it possible to have one page, portfolio for instance, NOT have a sidebar? I want the entire width for the images.

Viewing 1 replies (of 1 total)
  • Michael

    @alchymyth

    Forum Moderator

    the sidebar call is in footer.php;

    to not call the sidebar in a specific page, change this line:

    <?php get_sidebar (); ?>

    to:

    <?php if( !is_page('specific') ) get_sidebar (); ?>

    http://codex.wordpress.org/Function_Reference/is_page

    you will still need to edit the styles to stretch the content for that page, using the page specific body_class output .page-id-123 to make the edits page specific.

    post a link to your site, to the page without sidebar, if you need some pointers…

Viewing 1 replies (of 1 total)
  • The topic ‘Billions Theme – want one page to NOT have sidebar’ is closed to new replies.
Skip to toolbar