Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); query_posts( 'posts_per_page=-1&cat=' . $cat ) ?>
- <!-- catgory.php -->
- <!-- Start of AdSense -->
- <!-- end of AdSense -->
- <div id="clear"></div>
- <div class="postcontainer">
- <div id="shadow-container">
- <div class="shadow1">
- <div class="shadow2">
- <div class="shadow3">
- <div class="shadow4">
- <div class="container">
- <div class="post">
- <h2><?php single_cat_title(); ?></h2>
- <p><?php echo category_description(); ?> </p>
- <ul>
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <li class="gridlist"><a href="<?php the_permalink() ?>"><img src="<?php echo get_post_meta($post->ID, "thumbnailLocation", $single = true); ?>" alt="<?php the_title(); ?>" title="<?php the_title(); ?>"></a></li>
- <?php endwhile; else: ?>
- <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
- <?php endif; ?>
- </ul>
- </div> <!-- end of post -->
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- <?php posts_nav_link(' — ', __('« Previous Page'), __('Next Page »')); ?> -->
- </div>
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
- <!-- END CATEGORY.PHP -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement