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


  #1  
Old Oct 9, 2012, 02:42 AM
leshcat
 
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.
  #2  
Old Oct 9, 2012, 04:29 AM
juggledad's Avatar
juggledad
 
23,630 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' ); ?>
	</div>
then change the line
HTML Code:
	<div id="content" class="col8">
to
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
  #3  
Old Oct 9, 2012, 07:12 AM
leshcat
 
5 posts · Oct 2012
Hi there, juggledad

It worked perfectly and as planned. Big thanks!

Bookmarks

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 02: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 05: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 12:39 PM


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


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