GetSimple Support Forum

Full Version: Sidebars
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Removing internal pages of sidebars, sidebars or different place
on other pages?
Keeping in Home, but removing the other.

Sorry my English is that I use google translator.

Existe algum site com plugins já prontos para o get-simple?

Thanks!
schluters Wrote:Removing internal pages of sidebars, sidebars or different place
on other pages?
Keeping in Home, but removing the other.

Sorry my English is that I use google translator.

Existe algum site com plugins já prontos para o get-simple?

Thanks!

The last line, if I interpret correctly means "Are there other sites with plugins for get-simple?"

Sorry about the first lines, I can't make out exactly what they mean. Can you paste the message in Portuguese please? Maybe somebody with a better command of Portuguese can help.
How do I remove the sidebars of the pages inside?
Como removo as barras laterais das paginas internas?

How to leave only the sidebars on the homepage. removing the other pages?
Como deixar as barras laterais somente na homepage. removendo nas outras paginas?

another question: / outra pergunta:
Is there any website with plugins already ready for the get-simple?
Existe algum site com plugins já prontos para o get-simple?
schluters Wrote:How do I remove the sidebars of the pages inside?
How to leave only the sidebars on the homepage. removing the other pages?
These two questions are the same? ;-)
You can make a copy of template.php (call it template2.php or anything else) and edit the HTML inside it. Remove all the sidebar elements. Then you can choose what template you want to use under “Page Options” when you’re editing a page.

schluters Wrote:Is there any website with plugins already ready for the get-simple?
No, there is no website with only plugins. For now the best place is the Plugins board on this forum. Some people are building a plugin website but it’s not done yet.
thank you. It's something relatively simple.
muito obrigado. É algo relativamente simples.

thank you!
Another way: edit template.php, change this line:
Code:
<?php get_component('sidebar'); ?>
to:
Code:
<?php if (return_page_slug()=='index') { get_component('sidebar'); } ?>
Carlos: not really. Due to how the default theme works you will still have a visible sidebar box on all pages if you do it that way. It will just be empty for all non-index pages.
Yeah you're right, Zegnåt.

A better solution would be enclosing the entire sidebar div in an if, like:
Code:
<?php if (return_page_slug()=='index') { ?>
    <div id="sidebar">
        <div class="featured">
            <?php get_component('sidebar');    ?>
            <div class="clear"></div>
        </div>
    </div><!-- end div#sidebar -->
    <?php } ?>

(Inserted first and last lines)

Anyway, it's not perfect. Something should also be done about the content's fixed width... (at least with GS's default theme)