Displaying Multiple Posts on WordPress Home Page

By: Chad Bell
1. Find the file home.php
/blog/wp-content/themes/tma/home.php

2. Open file in HTML text editor.

3. Find line

**** < ?php $the_query = new WP_Query(‘cat=-‘ .$catid. ‘&showposts=1&orderby=post_date&order=desc’); ****

and change ***&showposts=1*** to show more posts.

4. Save and refresh browser window.

© Copyright 2021 - Zen Den Web Design – Creativity and Security in One Place | 795 Folsom St, 1st Floor San Francisco, CA 94107 | 831-325-2867 | For Guest Blogging Inquiries