Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sidebars
#1
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!
Reply
#2
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.
Reply
#3
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?
Reply
#4
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.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply
#5
thank you. It's something relatively simple.
muito obrigado. É algo relativamente simples.

thank you!
Reply
#6
Another way: edit template.php, change this line:
Code:
<?php get_component('sidebar'); ?>
to:
Code:
<?php if (return_page_slug()=='index') { get_component('sidebar'); } ?>
Reply
#7
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.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply
#8
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)
Reply




Users browsing this thread: 1 Guest(s)