• What I want to do: all my pages have 2 columns: content +sidebar 1.
    I’d like the home page to use sidebar 2.

    I have a static page defined as front page, called home.
    This is how its called when I edith the page: /page.php?action=edit&post=14

    I tried to call the home page up with this
    if (is_home() || is_front_page() || is_page(’14’)) {
    ?>

    and later insert the sidebar like this:

    <div id=”show-only-2″>
    <?php sidebar_2(); ?>
    </div>

    Nothing happens on my site though. My guess is that there is something wrong with my first line of code.

    Anybody know what Im doing wrong here?

Viewing 1 replies (of 1 total)
  • Instead of this:

    <?php sidebar_2(); ?>

    and use something like:

    <?php
    get_sidebar('mysidebar');// will include sidebar-mysidebar.php
    ?>
Viewing 1 replies (of 1 total)
  • The topic ‘Different sidebar for homepage (thesis)’ is closed to new replies.