graphicjay22 Posted December 22, 2012 Share Posted December 22, 2012 Hello all, i'm trying to get a slider to feature my images that are in a post. I currently have everything set up but I only have one li element that is showing all three images. I'd love to have three li elements each showing one image but I can't figure out how to automatically isolate each image. Any help would be greatly appreciated! you can see the current state here: http://mksgear.com/shop/test-product/ this is what my code looks like: <ul class="slides"> <li class="slide"> <?php if ( has_post_thumbnail() ) : ?> <?php echo do_shortcode('[gallery option1="value1"]'); ?> <?php else : ?> <img src="<?php echo woocommerce_placeholder_img_src(); ?>" alt="Placeholder" /> <?php endif; ?> <!--<?php do_action('woocommerce_product_thumbnails'); ?>--> </li> </ul> Quote Link to comment https://forums.phpfreaks.com/topic/272291-php-wordpress-gallery-help/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.