syntax error
-
Where is What mistake?
if( have_rows('images') && get_field('images')[0]['image'] ): $image = wp_get_attachment_image_src(get_field('images')[0]['image'], 'large'); echo '<img class="thumbnail" src="' . $image[0] . '">'; else : echo '<img class="thumbnail" src="images.png">'; endif;Best regards
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘syntax error’ is closed to new replies.