How do I add a default thumbnail to elseif when no get_field(‘photos’), and no post thumbnail exists?
The function you are looking for is has_post_thumbnail() With this function you can check, if a featured image has been attached to a post and perform the following code: <?php if( get_field( ‘photos’ ) ): ?> <div class=”img”> <?php echo ‘<a class=”image” href=”‘ . get_permalink() . ‘”><div class=”img”><img src=”‘ . $model_pic[0][‘sizes’][‘models’] . ‘” /></div><div class=”info”><h3>’ … Read more