Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.