Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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?