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

Brittany Cerra
Brittany Cerra
7,424 Points

Displaying posts on a static page in Wordpress

Hi! I have a fullpage.js layout built on wordpress. I'm only using one page template for the entire site, and I want to display posts in a section of the page. How do I display posts on a static, custom page in wordpress?

5 Answers

Brian Goldstein
Brian Goldstein
19,419 Points

Review the loop! http://codex.wordpress.org/The_Loop_in_Action you can put the loop or a custom wp_query into just about anything in wordpress. meaning, once the logic of your loop is correct for what you want, you can style it anyway you need using css.

Brittany Cerra
Brittany Cerra
7,424 Points

Thanks Lucas! I watched the video. It didn't cover my particular question, but I learned that I could have accomplished the same type of page without even incorporating additional js!

Lucas Santos
Lucas Santos
19,315 Points

Well at least you learned something new rite :]

Brittany Cerra
Brittany Cerra
7,424 Points

Thanks, guys! I'll check all of this out. Jared Cowan , I'm from (if you can even say that in LA) Studio City.

That's pretty close. You ever go to any meetups out here?

Completely off topic: But do you live in MB?