
Current Code
By: a guest on
Dec 7th, 2012 | syntax:
PHP | size: 0.32 KB | hits: 29 | expires: Never
<?php $parent = get_cat_ID('Sports'); query_posts("cat=-$parent");?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<h2><?php the_title(); ?></h2>
<?php endwhile; else: ?>
<p>We're sorry...currently, there are no slideshow images.</p>
<?php endif; ?>
<?php wp_reset_query(); ?>