Answers for "text on image in wordpress"

PHP
1

wordpress image text acf

<?php 
$image = get_field('image');
if( !empty( $image ) ): ?>
    <img src="<?php echo esc_url($image['url']); ?>" alt="<?php echo esc_attr($image['alt']); ?>" />
<?php endif; ?>
Posted by: Guest on February-11-2021

Browse Popular Code Answers by Language