Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Loop Code Challenge
// This post does not have a featured image,
// i.e. thumbnail.
$has_thumbnail = has_post_thumbnail();
while ( $has_thumbnail ) {
// does the code block run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment