Support » Fixing WordPress » New Post featured image section not showing after bbpress code

  • Resolved yoshimitsu1234

    (@yoshimitsu1234)


    I had to set featured image for my bbpress forums and topics and added following code to functions.php of theme.

    add_theme_support( 'post-thumbnails', array( 'forum' ) );
    	add_post_type_support('forum', 'thumbnail');
    
    	add_theme_support( 'post-thumbnails', array( 'topic' ) );
    	add_post_type_support('topic', 'thumbnail');

    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?

Viewing 1 replies (of 1 total)
  • Thread Starter yoshimitsu1234

    (@yoshimitsu1234)

    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');

Viewing 1 replies (of 1 total)
  • The topic ‘New Post featured image section not showing after bbpress code’ is closed to new replies.