Jump to content
Sign in to follow this  
edwelly

Full Width Bottom Sidebar

Recommended Posts

edwelly

Hello. Can someone help me please. I need to turn on the Full Width Bottom Sidebar on everything - pages and posts. I have 110+ posts already so going through each one to add the check mark is a lot of work. I would like it to be just the opposite - on by default, off if I choose it. Can you please help me? Thanks!

Share this post


Link to post
Share on other sites
Guest Guest

I'm gonna go ahead and mark this for the developers, as I don't see a way to set it for all pages with the current build of Eco.

Share this post


Link to post
Share on other sites
edwelly

I figured it out. On the _morefoot.php file, remove the lines 1 and 7:

<?php if(m_pagelines('full_width_widget', $post->ID) && VPRO):?>
and
<?php endif;?>

That was it. Go me!

Share this post


Link to post
Share on other sites
edwelly

Of the developers would please take a look at this and make sure I did this correctly. old code:

<?php if(m_pagelines('full_width_widget', $post->ID) && VPRO):?>
		<div id="fullwidth_bottom_widgets" class="content">
		<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Full-Width Bottom Sidebar')) : ?>
			<p class="subtle"><?php _e('Full width widgets selected but no widgets have been added.',TDOMAIN);?></p>
		<?php endif;?>
		</div>
	<?php endif;?>
	<div class="clear"></div>
new code:
	<div id="fullwidth_bottom_widgets" class="content">
		<?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('Full-Width Bottom Sidebar')) : ?>
			<p class="subtle"><?php _e('Full width widgets selected but no widgets have been added.',TDOMAIN);?></p>
		<?php endif;?>
		</div>
	<div class="clear"></div>

I am assuming the _moorfoot.php file is ok to start with a <div comment - isn't it?

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  

×