WordPress.org

Ready to get started?Download WordPress

Forums

raindrops
Removing sidebar on some pages (9 posts)

  1. ramri
    Blocked
    Posted 2 years ago #

    I tried making a template that removes all the lines containing
    <?php get_sidebar(); ?>
    But even when I choose that theme for these pages, the sidebars are remain present in pages where I really want them gone :(

    http://wordpress.org/extend/themes/raindrops/

  2. nobita
    Member
    Theme Author

    Posted 2 years ago #

    Hi ramri

    Are you need 1column page?

    Adding below code post or page

    Paste below code where editor content(use html mode)

    <!--[raindrops color_type="dark" col="1″]-->

    and save post

    I am sorry to be poor at English.

    Thank you.

  3. ramri
    Blocked
    Posted 2 years ago #

    Your English is fine, the extra sidebar is still showing though by the way...

  4. ramri
    Blocked
    Posted 2 years ago #

    And in a page where I generate posts, both sidebars are still showing :(

  5. nobita
    Member
    Theme Author

    Posted 2 years ago #

    I'm tested it.

    capture here

    Sorry Code has improperly quote;

    <!--[raindrops color_type="dark" col="1"]-->

    If you need remove get_sidebar() where page.php

    Example.(capture: remove get_sidebar ,config)

    line 93
    <div class="yui-u">
    <?php get_sidebar('extra');?>
    </div>
    
    line 98
    <div class="yui-u">
    <?php get_sidebar('extra');?>
    </div>
    
    line 106
    <div class="yui-b">
    <?php //lsidebar start ?>
    <?php get_sidebar('default'); ?>
    </div>

    Thank you.

  6. ramri
    Blocked
    Posted 2 years ago #

    Thanks so much! worked for all pages exept fot the blogroll, which doesn't remove the sidebars either with the snippet in the page or by making a theme without the sidebar php lines and implementing it. Any idea why?
    http://www.twilightbattle.com/news/

  7. nobita
    Member
    Theme Author

    Posted 2 years ago #

    see
    blank_front.php
    this template is for customize easy.

  8. ramri
    Blocked
    Posted 2 years ago #

    I turned all the 'y' to 'n' in sidebar modifiers in that blank-font.php and I made my own template than deleted all references of sidebars in the code in both yet when using them in http://www.twilightbattle.com/news/ is still the only page tilldisplaying sidebars, no matter what I try :(
    Weird, and sorry fot your trouble!

  9. nobita
    Member
    Theme Author

    Posted 2 years ago #

    the blank-front.php can rename.

    for Example home.php index.php and single.php

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic