Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="loop-wrap">
- <h1 class="page-title"><?php $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); echo $term->name; ?> Store</h1>
- <ul id="product-list">
- <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <li class="product-list-item">
- <?php if((get_post_meta($post->ID, '_product_cb_single', true))) { ?>
- <div class="sold-flag"></div>
- <?php } ?>
- <?php if(class_exists('TemplateImages') && mti_image_exists('first-image')) { ?>
- <a href="<?php the_permalink(); ?>" title="click for details"><img
- src="<?php echo mti_get_image_url('first-image', 'w=150&h=150&zc=1'); ?>" alt="<?php the_title(); ?>" /></a>
- <?php } ?>
- <br />
- <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
- </li>
- <?php endwhile; endif; ?>
- </ul><!-- END #product-list -->
- <nav class="prev-next clearfix">
- <div class="next-posts"><?php next_posts_link('« Previous Items') ?></div>
- <div class="prev-posts"><?php previous_posts_link('Next Items »') ?></div>
- </nav>
- </div><!-- END #loop-wrap -->
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement