Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress From Bootstrap to WordPress Create Bootstrap Styled Theme Templates Creating a Portfolio Landing Page

Featured Image not showing despite of activating it in CPT UI.

Hi,

I'm trying to display the featured image field in the portfolio section. I activated it in my functions.php file, but it didn't show up. So I tried to activate the "Featured Image" in the Settings section of my Custom Post Type. After activation, I can set a featured image, but my Title and Editor fields are hidden. Only the Link field is shows. I also ticked everything under Screen Options in my Portfolio Editor.

Can somebody explain this behaviour to me?

PS: I "fixed" it with a workaround:

  1. I ticked Title, Editor and Featured image in my CPT UI plugin
  2. I created a Custom Field with only the Link box (no items for showing selected).

But it still bugs me why it does not work like in the video.

1 Answer

Dylan Hoogeveen
Dylan Hoogeveen
6,283 Points

For anyone that is still looking for an answer, mine worked after doing the following:

  • CPT UI - edit post type (don't forget to actually press select portfolio'
  • than go to settings, scroll all the way down
  • select all at supports and edit.

Hope it helps anyone out :).

Wish I could give a +10 for the excellent find on this buried treasure. The "actually press" part IS important to get things set up right, plus there's that second scroll bar that reveals the "Supports" checkboxes and other settings.