[Resolved] Showing thumbnails for first two posts only…
I am stumbling around the PHP to build my theme but have come stuck on a small issue i’m hoping someone will know. I have thumbnails on my index page for each post, and i only want them to show for the first two.
this i what i have so far but i am having trouble with the selector:
<?php if ( ##SOMETHIGN HERE## ) : ?> <?php the_post_thumbnail(); ?> <?php endif; ?>
Thank you in advance for your help.
- The topic ‘[Resolved] Showing thumbnails for first two posts only…’ is closed to new replies.