[Plugin: File Gallery] Different sized thumbs on recent post
-
Is there a way to use the “medium” sized thumbnails on the most recent post and the “thumb” for all the others? Reading the docs, I had hoped something like this would work, but it has no effect:
query_posts('showposts=1'); if (have_posts()) : while (have_posts()) : the_post(); ?> <div id="recent-gallery"> <h2 class="recent-head">Recent</h2> <div class="entry"> <?php file_gallery_shortcode(array('size'=>'medium')); the_content(); ?> </div> </div>
My php skills aren’t that great so any pointers would be greatly appreciated!
Many thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: File Gallery] Different sized thumbs on recent post’ is closed to new replies.