Forums
(@edengonzalez)
7 years, 11 months ago
I have the same question
I did it by myself!
<ul> <?php foreach ($data as $posts): ?> <li><a>ID ); ?>"><?php echo $posts->post_title; ?><?php echo get_the_post_thumbnail( $posts->ID, $size, $attr ); ?></a></li> <?php endforeach; ?> </ul>