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

stephen grieves
stephen grieves
512 Points

One Page Wordpress Site track problem when editing the page.php file?

I'm following the steps in the One Page Wordpress Site video and I'm pretty certain I've followed the steps exactly but something isn't working.

When I insert the code below into the one-page-site.php and refresh the site i get a nearly blank home page like so http://screencast.com/t/SUxubn2kV.

Any help much appreciated. Thanks

'page', 'order' => 'ASC' ); $the_query = new WP_Query( $args ); ?> have_posts() ) : $the_query->the_post(); ?>

1 Answer

Jinson Abraham
Jinson Abraham
1,700 Points

Please post your code with proper syntax so that it can be verified.