Do it the same way you would for WordPress and use the bbPress custom post types, forum
, topic
, and reply
.
I don’t get you. I do not get option to set a featured image in new forum post section at all.
Please explain in detail.
Can anyone answer my question in detail?
How do i add featured image to a bbpress forum post from wordpress post editor page?
Into your function.php paste this code, you will allow to Custom Post Type forum – bbPress have featured images in admin.
add_theme_support( 'post-thumbnails', array( 'forum' ) );
add_post_type_support('forum', 'thumbnail');
That worked like a charm. Thanks a lot.
Earlier i was adding it to end of functions.php which was not working but adding it before ?> did the trick.
Hi,
After doing this I had noticed that now forums and topics have a featured image section but normal WordPress posts, no longer shows featured image setting option in new post page at site.com/wp-admin/post-new.php
How Do I resolve this issue?
I tried various permutations and combinations. Following codes worked for me.
add_theme_support( 'post-thumbnails', array( 'post', 'forum', 'topic' ) );
add_post_type_support('post', 'thumbnail');
add_post_type_support('forum', 'thumbnail');
add_post_type_support('topic', 'thumbnail');