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 trial

WordPress How to Build a WordPress Theme WordPress Theme Functions Displaying Custom Posts and Fields in a Template

Eran Greenwald
Eran Greenwald
529 Points

Work page display content of blog page

Hello, When i navigate to my work page i get the blog list content. I can see that i'm on the right template with the message of wok.php file. Thank you, Eran.

2 Answers

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

This likely means that you are missing the WP_Query code at the top of the page.

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

Hi, are you still struggling with this? Can you post up the code for your page? Are you selecting to have the custom template as the current template for the page from within the admin area?