Jump to content
Sign in to follow this  
tcantrell

Full width bottom sidebar on category pages?

Recommended Posts

tcantrell

In Station Pro, how would I display the full width bottom sidebar on all category pages?

Share this post


Link to post
Share on other sites
bryan-hadaway

Can I get a link. I'm pretty sure it's possible, I believe setting a blog page and then adding the bottom sidebar to that would work. Otherwise it might be necessary to add some PHP to some files. Thanks, Bryan

Share this post


Link to post
Share on other sites
bryan-hadaway

Make sure this is checked: Theme Options > Footer Options > Show widgetized footer sidebars? Thanks, Bryan

Share this post


Link to post
Share on other sites
tcantrell

That's checked... But doesn't that control the three widget footer that will show up on every page? I'm trying to get the full width bottom side bar on my category pages, currently the main or secondary sidebar shows up on them.

Share this post


Link to post
Share on other sites
cmunns

Tom you'd have to edit code, since there is no direct page editor screen you can use to active the sidebar. What theme are you using?

Share this post


Link to post
Share on other sites
tcantrell

Station Pro... I'm willing to try and edit some code if you can point me in the right direction.

Share this post


Link to post
Share on other sites
bryan-hadaway

Okay, hold tight for continued developer help, bump your topic so you don't get lost in the sea of topics. Thanks, Bryan

Share this post


Link to post
Share on other sites
cmunns

In footer.php you can see some commenting where the full width widget is controlled. You just need to change that first line to this: `<?php if((m_pagelines('full_width_widget', $pagelines_ID) || is_category()) && VPRO):?>`

Share this post


Link to post
Share on other sites
tcantrell

Nice! Thank you both, worked perfect. Also had to add

.category #sidebar {display:none}
	.category #maincontent {width:960px;}

To the custom code to get rid of the main sidebar which was still showing up.

Share this post


Link to post
Share on other sites
tcantrell

One thing to note, although not a big deal to me, the full width widget will no longer show up on regular pages when using this method.

Share this post


Link to post
Share on other sites
cmunns

Weird maybe the syntax of the conditional statement was slightly off.

Share this post


Link to post
Share on other sites
tcantrell

Figured it out...

	<?php if((m_pagelines('full_width_widget', [b]$pagelines_ID[/b]) || is_category()) && VPRO):?>
Needed to be...
	<?php if((m_pagelines('full_width_widget', [b]$post->ID[/b]) || is_category()) && VPRO):?>
	

Works perfect now. Thanks again.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×