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 trialHammad Arshad
1,713 PointsThere is no option of portfolio in 'Post Type - is equal to - 'portfolio'
It isn't showing any option of portfolio, after installing both plugins
3 Answers
Don Macarthur
28,430 PointsHi Hammad,
It's difficult to tell what you're referring to without a link to the relevant video or the name of the plug ins, but I believe you are referring to the Custom Post Types and Advanced Custom Fields plug ins used in one of Zac's courses.
I believe you've probably skipped a video as you would need to use the Custom Post Types to first create a post type named "portfolio" and then use the Advanced Custom Fields plugin to specify the field types you want to associate with the "portfolio" post type.
Once you have those setup you should be able to work the rest out.
Hope that helps Don :-)
Hammad Arshad
1,713 PointsThanks for the reply Don. But i found out the problem by myself. Actually we can't give the same name to the custom post and a page. It was portfolio in the video. I changed the custom post type name from portfolio to my_portfolio, it worked then.
Don Macarthur
28,430 PointsNo problems Hammad, good to hear you've worked it out :-)