Simple Staff List
[resolved] Set Featured Image is writing tag to post body (3 posts)

  1. srumery
    Posted 1 year ago #

    I am trying to get the featured image to work properly within this custom post type plugin. I click the "Set Featured Image" link in the post editor and the regular media modal comes up. When I find an image and show the details, the button for it says "Insert into Post". When I click it, it actually inserts the <img> tag into the post body as if I was adding media to a post, and not assigning a featured image. Any idea why it is behaving like this?

    I am running version 1.15 of the plugin.


  2. mjselby
    Posted 1 year ago #

    Hi srumey,
    I had a similar problem and resolved it by altering the following in my theme's functions.php file:

    add_theme_support( 'post-thumbnails', array( 'post' ) );


    add_theme_support( 'post-thumbnails', array( 'post','staff-member' ) );

    Hope that helps.

  3. srumery
    Posted 1 year ago #

    Thank you, mjselby. That did the trick. I ended up adding a plugin to override what the theme was doing.

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Staff List
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.