0

How can i integrate a image if there is no attached image?
I'm using this code with success to integrate no-image picture if is no picture is attached to post.
<?php
if ( ! $img = get_field('img_actor', $post_object->ID ) )
$img = '/wp-content/uploads/noimage1.jpg';
?>
<img class="actor_img...