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() ) : ?>
<?php the_post_thumbnail() ?>
<?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).
Please login or Register to submit your answer