T
TransPersonal
Guest
I want the sidebar on my homepage to show different content than the sidebar on the rest of my website's pages. In the index.php file of my WordPress site there is the code:
<?php get_sidebar(); ?>
Inside the sidebar.php file there is the code:
<?php include (TEMPLATEPATH . '/sidebar1.php'); ?>
How can I make this, IF IS HOME:
<?php include (TEMPLATEPATH . '/sidebar1.php'); ?>
ELSE:
<?php include (TEMPLATEPATH . '/sidebar2.php'); ?>
Thank You!
<?php get_sidebar(); ?>
Inside the sidebar.php file there is the code:
<?php include (TEMPLATEPATH . '/sidebar1.php'); ?>
How can I make this, IF IS HOME:
<?php include (TEMPLATEPATH . '/sidebar1.php'); ?>
ELSE:
<?php include (TEMPLATEPATH . '/sidebar2.php'); ?>
Thank You!