get thumbnail link on this loop
-
how can i parmalink to thumbnails ?
<?php global $query_string; query_posts($query_string . '&post_type=trailer&posts_per_page=4&meta_compare=EXISTS' ); if( have_posts() ) : $i = 0; while( have_posts() ) : the_post(); $i++; // count if( !$paged && $i == 1) { the_post_thumbnail( 'trailerbig' ); } else { the_post_thumbnail( 'trailerlit' ); } endwhile; endif; ?>
[Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘get thumbnail link on this loop’ is closed to new replies.