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 trialjazib shahzad
Courses Plus Student 268 PointsTitle is not appearing
When i click on add new portfolio from portfolio then title isn't appearing only description and add media is displaying???
4 Answers
Jeff Kinley
21,207 PointsAnother thought is that you have to have this in your page template:
<?php the_title(); ?>
Let me know how you make out.
Jeff Kinley
21,207 PointsWithout more detail, I am not sure we can be of much help, but one thought is this: In this project, the Advanced Custom Fields (ACF) will provide a place to add a description and a place to add media (image) for the page. These are the only two fields that were added to the ACF plugin.
The page title, however, is still a inherent to WordPress. To have the page title display, you have to create a new page, give it a title, and then select the "Portfolio" template from within Page attributes in the WordPress admin. Then you should have your portfolio page with the WordPress title displayed at the top and the two custom fields displayed below.
Stanley Thijssen
22,831 PointsHey Jazib,
Make sure you have checked everything you want your portfolio items to have at the support section in the editor screen of your custom post type.
Jeff Kinley
21,207 PointsGood one, Stanley!
jazib shahzad
Courses Plus Student 268 PointsCan u give me ur email or skype id etc. so that i can share files to u if u have some time?
Stanley Thijssen
22,831 Pointssure if u have questions u can hit me up on my skype stanleyth1.
jazib shahzad
Courses Plus Student 268 PointsThanks!I added u.