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

Ricardo Orellana
Ricardo Orellana
276 Points

How can I create a custom template that holds multiple pages as single web navigation?, or what would be the correct way

for example like this website http://rscardwp.px-lab.com/ I am wondering how to structure layouts with WP, thanks for any help

1 Answer

Garrett Sanderson
Garrett Sanderson
12,735 Points

This is totally do-able with WordPress. Basically what this would be is your front-page.php and you would create this as a custom page and pull with mutiple WP_Query loops the different content from the database. Or you can set up each section as its own widget block.

Ricardo Orellana
Ricardo Orellana
276 Points

Thank you @Garrett for replying, do you have any example or tutorial ?

Garrett Sanderson
Garrett Sanderson
12,735 Points

I would just watch Zach Gordon's lessons on Theme Development in WordPress and then take the knowledge to develop what you want!