I've tried everything as far as I can understand.
I'm not a programmer, but a designer, so I get lost sometimes in the codex.
I'm trying to specify a few alternative functions for the home page of this site that I've been working on. Pretty simple stuff, but for some reason I cannot get if(is_home) to work.
Trying to do two things
Exclude one category (1750) from the homepage (but include on pages 2,3,4,etc.)
Include slideshow and mission statement widget (just below slider) on Home page but exclude from pages 2,3,4, etc.
here's a bit of what I've tried:
<?php if (is_home()) include (TEMPLATEPATH . '/slideshow.php'); ?>
<?php if (is_home()) include (TEMPLATEPATH . '/frontmiddle.php'); ?>
That doesn't seem to do anything.
To hide one category from home I've added:
<?php if ( is_home() ) {query_posts($query_string . '&cat=-1750');}
?>
<?php if(have_posts()) : while(have_posts()) : the_post(); ?>
I've tried if_is_front but I'm not using a static home page. The theme includes two optional category widgets for the homepage that I've disabled in the Admin section.
I feel like something is missing somewhere... can anyone point me in the right direction?