Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   [SOLVED] Remove widget area from everywhere but blog page (http://forum.bytesforall.com/showthread.php?t=18615)

leshcat Oct 9, 2012 02:42 AM

[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. :)

juggledad Oct 9, 2012 04:29 AM

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.

leshcat Oct 9, 2012 07:12 AM

Hi there, juggledad

It worked perfectly and as planned. Big thanks! ;)


All times are GMT -6. The time now is 04:47 AM.

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