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 trialAdam Baldwin
1,971 Pointsthe query isn't working for me. Just getting a blank page. Everything was ok until that point. Any suggestions?
I've got a local site as in the video. I've followed the steps exactly. Everything has been wonderful up until the wp query. i downloaded the files and I copy and pasted the query into my "my-test-site.php" file and after refreshing my static page in wp, i'm getting a blank page. No content at all. Any suggestions as to what could have went wrong?
Nick Berry
12,181 PointsAdam, thank you for posting the solution! I have been going crazy trying to figure out what I was doing wrong.
5 Answers
Chris Kosednar
4,541 Pointsyeah, thanks adam. HEY MODERATORS! you guys should do an edit to the voice over of the video to let folks know!
Camilla Borg
2,687 PointsThanks for the solution! Yes they should really change the video or add a text edit!
Allan Visochek
146 PointsI second that
Jonathan Whalen
7,201 Pointsthere is a content-page.php included in the Underscores download package, but its inside the template-parts folder within the theme folder, I got kinda frustrated with this, but looking at the questions other students have had would have been helpful earlier, lesson learned
David Accomazzo
15,986 PointsThank you for the help! Agree that the admins need to address this either in the video or the materials somewhere.
Adam Baldwin
1,971 PointsAdam Baldwin
1,971 PointsSo the theme downloaded from Underscores doesn't include a content-page.php file so i had to download the one from the video and copy and paste it into my theme's folder. Content is now showing on the static page. Thanks.