Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="portfolio-container">
- <div id="portfolio-title">
- <?php single_cat_title(); ?>
- </div>
- <?php if (have_posts()) :?>
- <?php $postCount=0; ?>
- <?php while (have_posts()) : the_post();?>
- <?php $postCount++;?>
- <div class="entry entry-<?php echo $postCount ;?>">
- <?php $thumbnail = get_post_meta($post->ID, 'Thumbnail', true); ?>
- <div class="portfolio-thumbnail">
- <?php if($thumbnail !== '') { ?>
- <a class="zoom" rel="group" href="<?php echo $thumbnail; ?>">
- <img src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php echo $thumbnail; ?>&w=90%" alt=""/></a>
- <?php } ?>
- </div>
- </div>
- <?php endwhile; ?>
- <br clear="all" />
- <?php if(function_exists('wp_pagenavi')) { // if PageNavi is activated ?>
- <div id="page-navigator">
- <?php wp_pagenavi(); // Use PageNavi ?>
- </div>
- <?php } else { // Otherwise, use traditional Navigation ?>
- <div class="navigation">
- <div class="floatleft">
- <?php next_posts_link('« Older Entries') ?>
- </div>
- <div class="floatright">
- <?php previous_posts_link('Newer Entries »') ?>
- </div>
- </div>
- <?php } ?>
- <?php else : ?>
- <!--h2>Not Found</h2>
- <div class="entrybody">Sorry, but you are looking for something that isn't here.</div-->
- <h2>Under Construction</h2>
- <div class="entrybody">Please check back soon.</div>
- <?php endif; ?>
- </div>
- <br clear="all" />
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement