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

williamrossi
williamrossi
6,232 Points

Wordpress - number of posts show

Hi all, where is it in wordpress you configure how many posts you want to show fir the homepage? is their a setting in the dashboard? or something you set in the html with PHP?

Thanks in advance

3 Answers

Benjamin Simmons
Benjamin Simmons
50,431 Points

William,

Under Settings > Reading there is an option for "Blog pages show at most" that defaults to 10. Unless your theme supports it in an options framework specifically for the homepage, this should fix your issue.

You can do it like Benjamin suggested, this is the easiest way and will apply to your "Blog" pages.

If you know a little bit of PHP you can go check out the How to Build a WordPress Theme series by Zac Gordon. It covers how to build custom templates, customize each page to specific needs and much more.

williamrossi
williamrossi
6,232 Points

Haha too easy, :-0

Thanks!