<?php if (get_field('website')) : ?> <a href="<?php the_field('website')?>" title="<?php the_title();?>"> <img src="<?php echo $image[0]; ?>" class="img-fluid d-block mx-auto" alt="customerImage" width="200" height="200"> </a> <?php else: ?> <a href="<?php the_permalink(); ?>" title="<?php the_title();?>"> <img src="<?php echo $image[0]; ?>" class="img-fluid d-block mx-auto" alt="customerImage" width="200" height="200"> </a> <?php endif ?>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)