Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <?php get_sidebar(); ?>
- <div id="content">
- <?php query_posts('cat=-15'); ?>
- <?php if (have_posts()) : ?>
- <?php while (have_posts()) : the_post(); ?>
- <div class="entry">
- <p><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></p>
- <?php
- if ( has_post_thumbnail() ) { ?>
- <a href="<?php the_permalink() ?>"><?php the_post_thumbnail(); ?></a>
- <?php } else {
- } ?>
- </div>
- <?php endwhile; ?>
- <?php else : ?>
- <h2 class="center">Not Found</h2>
- <p class="center">Sorry, but you are looking for something that isn't here.</p>
- <?php get_search_form(); ?>
- <?php endif; ?>
- </div><!--//content-->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement