Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement