Juan Rodriguez
asked 8 years ago

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; ?>
 

1 Answers
DominicStaff
answered 8 years ago

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,

Juan Rodriguez
replied 8 years ago

That is the image I want to display. It currently does not automatically appear in the blog post.

Dominic Staff
replied 8 years ago

You can send me username & password of your site (via private answer) for further checking.

Powered by DW Question & Answer Pro