Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if ( have_posts() ) : ?>
- <div class="loop">
- <div class="loop-content">
- <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("it_exchange_category=rug-display-combo&post_type=it_exchange_prod&paged=$paged"); ?>
- <div class="portfolio-extension-wrapper clearfix">
- <?php while ( have_posts() ) : // the loop ?>
- <?php it_exchange_set_product( $post->ID ); ?>
- <?php the_post(); ?>
- <div <?php post_class('portfolio-post-wrap'); ?>>
- <div class='portfolio-post entry-content'>
- <?php if ( has_post_thumbnail() ) : ?>
- <a class="entry-image" href="<?php the_permalink(); ?>">
- <!-- <?php the_post_thumbnail( 'it-portfolio-thumb' ); ?> -->
- <?php it_exchange( 'product', 'featured-image', array( 'size' => 'thumbnail' ) ); ?>
- </a>
- <?php else : ?>
- <?php endif; ?>
- <span class="portfolio-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></span>
- </div>
- </div>
- <?php endwhile; // end of one post ?>
- </div><!-- End of Portfolio Extension Wrapper -->
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement