How can I change this code in pinegrow theme converter? I add it from the php code panel, but it doesn’t change. So I can’t show the image. I want to do this in the program. Is there a way to do this?
<img class="u-expanded-height u-hover-feature u-image u-image-default u-image-4"
src="<?php echo esc_url( get_template_directory_uri() ); ?>
/images/character.jpg" alt="" data-image-width="1400" data-image-height="700">
<!-- Functions.php section Include Resources -->
require_once "inc/wp_pg_helpers.php";
<?php echo esc_url( get_template_directory_uri() ); ?>
replace with this;
<?php echo esc_url($image['url']); ?>" alt="<?php echo esc_attr($image['alt']); ?>