Team 3.0.6: How to make featured image appear on team member page

Q&ACategory: PluginTeam 3.0.6: How to make featured image appear on team member page
David asked 1 year ago

 Hi! I have set up my teams to display excerpts with Read More link set to Custom Post. The links work correctly and I get a nice page with the team member’s info, but their featured image doesn’t appear.
Am I just missing a simple setting? If not, can you provide the PHP code and let me know which file needs modification so I can fix it myself?
Thanks.

3 Answers
Hasan Staff answered 1 year ago

this might issue with your theme,
Some theme author restricted to their posttype only, please find following(like this) function and add “team_member” to array( ‘post’ )

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

after customized

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

 
 
 

David answered 1 year ago

What file would that be in? I didn’t modify any of your files, I only added a custom theme following the instructions on your site. Thanks!

Hasan Staff replied 1 year ago

I am talking about your main site themes functions.php files, not the plugin files or function, regards

David answered 1 year ago

Ah, understood. I did find that line and made the modification but no change in the featured image appearing. I tested a standard post with featured image and it doesn’t appear there either. I will get with the theme developer then. Thanks for helping narrow that down for me!
David