The code I have displays the same image in every modal. I would like it to display the featured image of the post. Ive been editing the framework.php file
<?php if ( has_post_thumbnail() ) : ?>
<div class=”featured-image”>
<?php the_post_thumbnail() ?>
</div>
<?php endif; ?>
To display the feature image in the post, you only need log in to Dashboard > Posts, Edit post, then add the image to the Featured image: http://prntscr.com/47fn3u
If you not find the Featured image section in the post, you can open the Screen options on the top side, select the Featured Image check-box.
Note: At the moment, our DW page only support to add featured image in the post (Blog page).
Regards,
That is the image I want to display. It currently does not automatically appear in the blog post.
You can send me username & password of your site (via private answer) for further checking.
Please login or Register to submit your answer