Create a fullwidth page in Blackbird, with sidebar

Discussion in 'BlackBird WordPress Theme' started by ebonymclaughlin, Jun 26, 2013.

  1. ebonymclaughlin

    ebonymclaughlin New Member

    Joined:
    Feb 12, 2013
    Messages:
    8
    Likes Received:
    0
    Hi,
    I'm trying to create a fullwidth page in Blackbird, with a sidebar, this is the code below but the sidebar is not showing.

    Please help?

    <?php
    /*
    Template Name: Fullwidth sidebar Page
    */
    ?>
    <?php get_header(); ?>

    <div class="page-heading">
    <h1 class="page-title"><?php the_title(); ?></h1>
    </div>
    <div class="clear"></div>
    <!--Start Page Content -->
    <div class="page-content">
    <div class="fullwidth">
    <?php if (have_posts()) : the_post(); ?>
    <?php the_content(); ?>
    <?php endif; ?>
    </div>
    </div>
    </div>
    </div>
    </div>
    <!--Start Sidebar-->
    <?php get_sidebar(); ?>
    <!--End Sidebar-->
    <?php get_footer(); ?>


     
  2. ebonymclaughlin

    ebonymclaughlin New Member

    Joined:
    Feb 12, 2013
    Messages:
    8
    Likes Received:
    0
    Also not requiring the blog to be on the full width, just blank with side bar.
     
  3. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,
    For the sidebar issue,
    Go to the Pages > Add New, create your page and select the Default Template from the Page Attributes section in your dashboard
    and then go to the Appearance > Widgets panel and, drag and drop the text widget in the Primary or Secondary Widget Area and add your content in that for the sidebar.

    For the blog page issue,
    Go to the Pages > Add New, create your blog page and select the Blog Page Template from the Page Attributes section in your dashboard
    and then go to the Appearance > Widgets panel and, drag and drop the text widget in the Primary or Secondary Widget Area and add your content in that for the sidebar.

    Both Blog Template and Default template are containing the sidebar area.
    This will solve your issue.
     
  4. ebonymclaughlin

    ebonymclaughlin New Member

    Joined:
    Feb 12, 2013
    Messages:
    8
    Likes Received:
    0
    Thank you Piyush, however I'm wanting to remove the blog info and just have a blank page with the sidebar.
    The default template I have has the blog info on it, and when I put categories in the Primary widget the blog info is still there.
    How do I remove the blog info from the template but still have the sidebar?
     
  5. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,
    Please specify your issue more clearly with the help of screenshot images and also send us the link of that page on which you want to change.
     

Share This Page