Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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
Lightbulb [SOLVED] Remove widget area from everywhere but blog page

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,765 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 02:37 AM.


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