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.

  1. Save and refresh browser window.
Share on facebook
Facebook
Share on twitter
Twitter
Share on google
Google+