RJ
asked 6 months ago

I have the option to set a featured image in all my wordpress pages and posts, except in this knowledge base.
how can enable the option for this plugin please? Thanks

1 Answers
DominicStaff
answered 6 months ago

In this case, you can open the wp-content/plugins/dw-knowledgebase-pro/inc/base.php file then find the line 69 and replace with the following code:

'supports'            => array(
    'title', 'editor','comments',
    'excerpt', 'thumbnail',
)

If your theme does not support to show the feature image in the single page, you can update the following code:

<div class="dwkb_entry-thumbnail">
    <?php the_post_thumbnail(); ?>
</div>

We will update this feature in the next version.

Powered by DW Question & Answer Pro