Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

[SOLVED] Remove widget area from everywhere but blog page

Old Oct 9, 2012, 03:42 AM
5 posts · Oct 2012
Hi there,

That's really nice theme and i am happy i found it - fast and simple.

I would like to Remove widget area from everywhere but blog page. Google'ling did show some results with modifying functions.php code, but unfortunately its just lead to blog collapse.

I there a comprehensive way to remove it as required? I have only 'Widget Area ONE' active.
Old Oct 9, 2012, 05:29 AM
juggledad's Avatar
23,698 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
edit each of the Main Templates (except 'index.php') and remove teh lines
HTML Code:
	<div id="widgetarea-one" class="col4">
		<?php dynamic_sidebar( 'Widget Area ONE' ); ?>
then change the line
HTML Code:
	<div id="content" class="col8">
HTML Code:
	<div id="content" class="col12">
if you also what this to happen on archive, category and tags multi post pages, you will need to create new virtual templates for them based on inxed.php and make the same changes.
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Oct 9, 2012, 08:12 AM
5 posts · Oct 2012
Hi there, juggledad

It worked perfectly and as planned. Big thanks!


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
background color for the border area OUTSIDE the page/blog content area johnh44 Center area post/pages 3 May 4, 2011 03:27 PM
How to: Remove link from blog title & add a thin solid black line below the page menu SavingHumanity Header configuration & styling 6 Jul 2, 2010 06:20 PM
Static home page, how to drop sidebars or remove widgets without changing blog pages. bestbreedmarketing Atahualpa 3 Wordpress theme 1 Feb 8, 2010 01:39 PM

All times are GMT -6. The time now is 03:30 PM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.