Forum Replies Created

Viewing 1 replies (of 1 total)
  • I am trying to figure out how to make the a widget appear only on the home page. What I have done thus far is created a new page called sidebar-home.php and added this bit of code to the end of the home-template.php

    <?php
    if(is_home-template() get_sidebar("home");
    else get_sidebar();
    ?>

    I am getting an error message on the if… line. I have tried every variation I can think of for is_home; is_home-template.php; is_…?

    any ideas of why this is not working?

Viewing 1 replies (of 1 total)