I'm using the sidebar-content-sidebar layout for the Freelance sidebar theme, with a static homepage, and it's working fine except on the main blog page. All the static pages are fine, and individual posts / search results / categories look fine, but the main page of the blog is not displaying the sidebar-alt on the left.
Any ideas what's going wrong here, and what I need to change to make it show up there, as well.
I thought I had. I also tried selecting "Default Layout set in Theme Settings" and it's still not showing that left sidebar.
However, I'm wondering if there's somewhere else that I've set it as content-sidebar, somehow, because even if I change that setting to something else, it still looks the same.
I tried making a new page called "Articles," setting the layout to sidebar-content-sidebar and making that the posts page, but that didn't help either.
What file is actually being used to make that posts page? Is it page_blog.php? Where do I find the actual place in the code that should be pulling that sidebar-alt?
I'm sorry, but I'm new to hooks, etc, so I'm really throw off by not being able to just open the file and see the code.
Well, I found a solution. While googling "set blog page layout" I found a bit of code for functions.php to specific a layout for the blog page, if you want it different from the default, so I slapped that in there, told it to make it sidebar-content-sidebar, and there it is!
I'm sure it's not the "right" way to do it, but it works and the client will be happy because now their blog doesn't look all screwed up.
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!