Theme4Press › Forums › evolve › How do I limit which post categories show up on home page › Re: How do I limit which post categories show up on home page
Thank you for the suggestion. I made the change in both places (2-3 column and 1 column) but it doesn’t appear to have changed anything on the site. I restarted apache to make sure the changed php file was loaded but nothing. It is still showing all posts from all categories on the main page. I changed the posts_per_page as well because I only want three, but that didn’t affect anything either. It doesn’t even change how many entries show if I click on a category link directly to go to a page with all blog entries from that category.
It looks to me (and I’m not very good with php) like index.php is generating the main page content and it doesn’t appear to be using a WP_Query object to limit the posts that are returned. Do you think I could modify index.php to use a query?