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!
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
Catherine Millington3,754 Points
How do I create a new portfolio on the Twenty Fourteen Theme?
I have a child theme and have tried creating a new page, created a new template to use which has an effect and using the index file code (the blog page for the site) as the template but it just doesn't show any posts. I want to create a portfolio page showing only a certain category. Been on this all day and can't work it out :o/ Please help me!
The simplest way would be to create a new page template. And use a loop filtered by category.
$query = new WP_Query( array( 'category_name' => 'CATEGORY_NAME' ) );