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

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!