I would like to show latest posts with its thumbnails only in slider. But my first figure element has a class. Can I apply a class to first thumbnail as it is in html structure below? And then Can I auto increment other images, when a user publish a new post with thumbnail?

    <div class="diy-slideshow">
            <figure class="show">
<!-- last recent thumbnail -->
                <img src="http://themarklee.com/wp-content/uploads/2013/12/snowying.jpg" width="100%" />
            </figure>
          <figure>
<!-- second from the last -->
            <img src="<?php if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
            the_post_thumbnail_url();} ?>" width="100%" />
            </figure>
    <!-- the rest will go on endless -->
    <figure>
    <!-- other latest posts thumbnails -->
    </figure>
          <span class="prev">&laquo;</span>
          <span class="next">&raquo;</span>
        </div>

My question is that how can I display other latest post thumbnail in

, the above code displays only last latest posts thumbnail, I would like to go on showing thumbnails without limitation.

Thank you in advance!

Read more here: Showing wordpress latest post thumbnails in slider with auto increment


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: