Support » Plugin: Simple Staff List » Staff Photo / Featured Image Not Working

  • Resolved polybearsfootball



    I have found a plugin conflict that is causing the custom Staff Photo / Featured Image to not stick.

    I am using your Simple Staff List, and the Team Rosters plugin. Results of combinations are as follows:

    Team Rosters always works as intended, which is why I am writing here.

    If only Team Rosters is ACTIVE it works as intended.

    If only Simple Staff List is ACTIVE it works as intended.

    If both are ACTIVATED the Team Rosters works as intended, but the Staff List Image does not.

    So, activating Team Rosters breaks your image feature. Since yours customizes the Featured Image I am writing here to find a fix, but will post there too. Thanks for any help you may have.


Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Brett Shumaker


    Hmm…I just did a quick test on my test install of my plugin and I was able to have both plugins activated and still add a new staff member with image. I tried using an image already in my media library as well as uploading a new image and both worked.

    Which version of WordPress are you running?
    Which version of Simple Staff List are you running?
    Which version of Team Rosters are you running?


    Thanks for the response Brett, and for testing this. First the answers to your questions, and then an observation…

    WordPress: 3.5.1
    Simple Staff List: 1.14
    Team Rosters: 2.0.1

    Originally I thought this was a theme issue, and I reached out to the developer. (Info Below), But then we saw that Featured Image was working with all the plugin’s but Simple Staff List and the Dev suggested a plugin conflict. De-activating ALL plugins, except these 2, results in the issues described. After further testing on my end I see a few interesting things:

    When Team Rosters is active, Simple Staff List in the case has a phantom image in the Set Featured Image browse dialog.

    For example: In this case with both active, the Set Feature Dialog in Team Roster looks normal. In SSL, there is an unknown (?) thumbnail. Selecting it shows no info. If I deactivate Team Rosters that goes away.

    If I switch to the Twenty Tweleve theme everything works – that would normally lead me back to the theme, BUT the theme’s Featured Image does work or the Team rosters plugin would fail too. I am not sure where to look in this odd case. The theme technically works – at least with TR, but it is a combo of TR and the theme causing issues, but the only issue is SSL.

    Any ideas? I will reach back to theme devs too.

    Themefuse Versions:

    Framework 2.4.6
    ThemeMods 2.0.6
    Templates 2.0.5



    Plugin Author Brett Shumaker


    Man, that is really strange. Are you seeing any javascript errors? I can’t, for the life of me, figure out why that particular plugin/theme combo of Rosters, SSL, and Themefuse would be causing a problem like that.

    Since Themefuse is a premium template service, I won’t be able to test this on my own. But could you try something for me? In simple-staff-list.php comment out line 231. This is the line that calls the function to rename the “Featured Image” metabox. I’m curious to know if this is the culprit.


    Thanks Brett for the reply. As I recall, I tried that already. I even swapped the code around a bit playing to see if I could trigger anything obvious, but no errors at all. Weird, and with 3 products interacting, it is a tough troubleshoot/debug. I can write code fine but without knowing all the products it’s a fun one.. I have the TR plugin author involved too, and he was going to have me test some changes. Themefuse has FTP access now too, and they are going to see if it’s them. I will be sure to try that again to be safe and let you know the result.

    Thanks again man, I will get back to you on the result,


    Plugin Author Brett Shumaker


    Ok, thanks. I’m interested to see hat the theme dev comes back with.

    I commented out the line 231:

    //add_action('do_meta_boxes', 'sslp_staff_member_featured_image_text');

    The result is no featured image box at all. Normally Themefuse does not use FI, but it has been enabled in the child theme functions.php with:


    And the TR plugin has one that works. I know he specified the custom post typr in his code of ‘player’, but the line I put in functions.php should do anything.


    Oh yeah, one more thing along with the info above… I find the phantom ? image only showing up in SSL interesting. Just thinking out loud because the puzzle is now becoming fun.


    Plugin Author Brett Shumaker


    That’s really weird. I’ve asked around at work and the consensus is that it’s either theme related (since I’m able to use both plugins without error on another site) OR something to do with the server environment. I just can’t figure out why featured images would work on everything except my plugin since I’m just using the default WP featured image picker.

    Keep me updated. 🙂

    Hey Brett,

    Just an FYI, I found the issue to be caused by the Team Rosters plugin use of the following code from in the plugin:

    ‘add_action( ‘after_setup_theme’, ‘mstw_tr_add_feat_img’ );
    function mstw_tr_add_feat_img( ) {
    if ( function_exists( ‘add_theme_support’ ) )
    add_theme_support( ‘post-thumbnails’, array( ‘player’ ) );

    It actually looks correct to me, so I have no idea why it is causing this weird phantom image in the FI dialog, or blocking any other plugin from saving a Featured Image.

    Either way, I just wanted to let you know the result.


    Plugin Author Brett Shumaker


    That is very strange. Check out this thread…seems to be a similar issue. add_theme_support Post Thumbnails Multiple Times?

    I’m curious as to why the plugin is using add_theme_support. I would think that’s something that should be left to the theme to determine and not the plugin.

    Thanks for the update!

    Well, in this post:

    He mentions he added it “because some themes deactivate the Featured Image meta box”, and Themefuse themes do not natively support Featured Images by the way. I added it back in my child theme’s functions.php. Plus, adding it in a plugin guarantees the feature will be there if the theme is changed, plus he is using custom post types, so adding the custom post type of “Player” to the array helps if them was overly specific on “Posts” or “Pages”.

    I will also, that like you, he is amazingly responsive. That link seems to maybe be the issue, that his use of add_theme_support() is overwriting the theme setting. I will pass this onto him, and THANKS. Seriously, the two of you are very helpful, and that is VERY appreciated.


    Plugin Author Brett Shumaker


    Yeah, I guess he and I have differing opinions on whether the plugin or theme should control whether or not featured images are ‘supported’ by the theme. In my opinion, every modern theme should be have featured images enabled, whether or not they actually use them. Why turn off a feature of core? Haha.

    Oh well. I’m glad I was able to help you get it sorted out! And thanks for using Simple Staff List! 🙂

    I tend you agree with you, although I do see the point made in the link you mentioned:

    ” if you look at it from an MVC approach, a custom post type is a model and the theme is the view. They should be separate, and the WordPress way to do that is a plug-in.”


    Brett, I did review the plugin, and it is 5 stars. Thanks.

    Plugin Author Brett Shumaker


    Thanks for the review!! I really appreciate it!

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Staff Photo / Featured Image Not Working’ is closed to new replies.