• I’m using some if thens to make my sidebars different for each page.. Problem I run into is that the home page doesn’t want anything to do with it.

    Here’s part of the sidebar statement:

    if(is_home() || is_front_page()) {
    if (!function_exists('dynamic_sidebar') || !dynamic_sidebar( 'home') ) { $generic_sidebar = true; }
    }
    elseif ( is_tree('about') ) {
    if (!function_exists('dynamic_sidebar') || !dynamic_sidebar( 'about') ) { $generic_sidebar = true; }
    }
    ...etc

    And the functions:

    if ( function_exists('register_sidebars') ) {
    register_sidebar(array('name'=>'home'));
    register_sidebar(array('name'=>'about'));

    So I’m not sure really how to use the if_home and the is_tree together..

    The sidebars on the pages work, but the home page refuses to work. Can anyone help??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter 314media

    (@314media)

    Oh; forgot to mention; I have no index.php…

    I have:
    home.php
    index.php – blank
    page.php
    single.php

    …maybe that’s what’s causing it. No index.php

    Thread Starter 314media

    (@314media)

    nope.. copied and pasted the home.php into the index.php page and to no avail…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Widgitzed Sidebars’ is closed to new replies.