Sidebar on Main Blog Page

I don’t see where I can easily change the blog page to include a sidebar. My entire site is set to Fullwidth, which I want. I only want the blog posts page to have a sidebar and can’t figure out how to make that happen. The page option to select a sidebar is not accessible on the blog posts page.

I’ve read through quite a few forum posts and can’t see to find a solution.

http://www.tingen.biz/news/

Hello @vaughanmatt,

Thanks for asking. :slight_smile:

You website is asking for password when I tried to open the link you have shared. However, you can take a look at following post and use the solution mentioned in the same:

Please make sure to add the Widgets from Appearance > Widgets.

Solution mentioned in the link I have shared will require template change. We suggest you to install and activate child theme. To help you to that I am sharing few links that you can use to download and setup child theme.

Download Child theme package from here: https://theme.co/apex/child-themes

Refer following tutorials to setup child theme:

Thanks.

Hi - Thank you for your quick response. This seems to have added the sidebar to my individual blog posts but not to the main blog page. Can you please take another look.

Password: finalpiece

Hi There,

Please update the given code to this instead:

// Make sure that  the blog index has the sidebar
// =============================================================================
function x_child_show_sidebar($contents) {
  if ( is_home() ) {
    $contents = 'content-sidebar';
  }
  return $contents;
}
add_filter('x_option_x_layout_content', 'x_child_show_sidebar', 5);
// =============================================================================

This should add a sidebar to your Blog Index Page.

Hope that helps,
Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.