Home › Forums › CSS › Featured Images / Image Slider › Re: Featured Images / Image Slider
November 25, 2012 at 2:27 pm
#115447
Participant
@inlmbrt All right. Try the code below. The first loop gets the latest post from portfolio for your main image. The second loop gets the rest and sets them in a thumbnail.
array(‘portfolio’),’post_status=publish’,’posts_per_page’ => 1));
while ( $loop->have_posts() ) : $loop->the_post(); ?>
“>
array(‘portfolio’),’post_status=publish’,’offset’ => 1));
while ( $loop->have_posts() ) : $loop->the_post(); ?>
“>