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 WordPress Theme Development Custom Post Type Templates in WordPress Coding Your Own Custom Post Type Templates

Jeff Richards
Jeff Richards
818 Points

Title field not showing up for Portfolio post type

When I go to add a new Portfolio post in the dashboard there is no field for the title, just description and images.

Somewhere, somehow this "fell off". The first one created, Pink Triangle, has a title so the field must have been there originally. Now when I go to edit that post there is no title field. Any new Portfolio posts created end up with a title "Auto Draft", since there is no title field available.

I have replaced the entire theme folder with the final files provided and get the same result.

I also reviewed the settings in both ACF and CPT UI plugins and do not see any problems there.

I'm stuck, any ideas?

3 Answers

Jeff Richards
Jeff Richards
818 Points

Found the answer. After closer inspection of the settings in CPT UI, I had to tick the box "title".

Jacobus Hindson
Jacobus Hindson
14,429 Points

Double check the CTP UI fields, specifically edit your Portfolio entry under settings>supports and Title needs to be ticked.

Jacobus Hindson
Jacobus Hindson
14,429 Points

Seems trying to type this at 4am on my iPhone took longer than you needed to find the answer yourself.

Jeff Richards
Jeff Richards
818 Points

Thanks for chiming in, especially at 4am. Seems like all I have to do is post the question for me to find the answer.