'featured_slider') ); if( $query->have_posts() ){ $i=1;?>
have_posts()){ $query->the_post(); $image_query = new WP_Query( array( 'post_type' => 'attachment','post_status' => 'inherit', 'post_mime_type' => 'image', 'post_parent' => get_the_ID() ) ); while( $image_query->have_posts() ) { $image_query->the_post(); $image_attributes = wp_get_attachment_image_src( get_the_ID(),array(980,580) ); //print_r($image_attributes); ?> />
This is an example of a HTML caption with a link.
have_posts() ) : $query->the_post();?>
class="nivo-html-caption">