Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter kyle110

    (@kyle110)

    Hi,

    So I have been able to sort out my multiple sidebars so that they can pe viewed in the drop down list under ‘current widgets’

    HOWEVER I am having trouble calling these so that each different sidebar is displayed for each page.

    I have edited the page.php file so that instead of using >

    <?php get_sidebar(); ?>

    I am using >

    <?php
    if (is_page('13')) {
    
     include(TEMPLATEPATH . '/sidebar3.php');
    
    } elseif (is_page('10')) {
    
    include(TEMPLATEPATH . '/sidebar2.php');
    
    } else {
    
    include(TEMPLATEPATH . '/sidebar.php');
     }
     ?>

    this isnt working and its not throwing up any errors the right sidebars arent displayed for the right page this is the problem. Bit of a novice with PHP so any help much appreciated.

    thanks
    Kyle

Viewing 1 replies (of 1 total)