multiple featured images – plugin

Use this plugin for multiple featured images

Display multiple images.

<div id="owl-demo" class="owl-carousel owl-theme">
		if( class_exists('Dynamic_Featured_Image') ) {
			 global $dynamic_featured_image;
			 $featured_images = $dynamic_featured_image->get_featured_images( get_the_ID() );
			 foreach( $featured_images as $image ) {
					echo "<img src='{$image['full']}'/>";  
					the_post_thumbnail( 'full', array( 'alt' => get_the_title(), 'class' => 'img-responsive') );

If you want to add slider just add loop in slider structure (You can uuse corosal slider).



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: