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 trialAurelian Spodarec
10,801 PointsHow to make search and categories with custome post type?
HI,
Soon I will need to put this site to WordPress, the only thing is that I'm not sure how to make a search or filter for custome post types.
Front page is home page. Blog page is the blog page.
Recipes is a new ACF but I need to make categories in that, with different tags, such as dificulty etc...
Please someone leas me to the right direction.
PS, do you like the desing so far? I even included a carousel, which atm is set to few minutes per slide, but works! Like the site? Code? hire me lol?
Aurelian Spodarec
10,801 PointsWrite this in an answer, so I can mark it as best answer : p
Yes, I think that is good. Thank you! I hope! Will try this once I'm finished with the front-end :)
1 Answer
erikvanschenkbrill
7,173 PointsDo you mean Recipes is a new CPT?
Maybe you can try this for the search results page: https://galengidman.com/2014/06/09/custom-post-type-search-results-templates-in-wordpress/
And this link to create custom categories with CPT: http://www.wpbeginner.com/wp-tutorials/how-to-add-categories-to-a-custom-post-type-in-wordpress/
erikvanschenkbrill
7,173 Pointserikvanschenkbrill
7,173 PointsDo you mean Recipes is a new CPT?
Maybe you can try this for the search results page: https://galengidman.com/2014/06/09/custom-post-type-search-results-templates-in-wordpress/
And this link to create custom categories with CPT: http://www.wpbeginner.com/wp-tutorials/how-to-add-categories-to-a-custom-post-type-in-wordpress/