How to edit index.php to show multiple posts on the home page
-
My current blog theme is set so only the latest post shows up on the homepage, I would like to edit it so it shows multiple pages. I’ve tried to mimic other WP blogs I have that I know show multiple posts on one page, but editing this theme just messes up the PHP and the blog won’t load.
Right now, I have this:
<?php if (have_posts()) : the_post(); ?>
<?php if (!is_home() || (isset($_GET[‘paged’]) && !empty($_GET[‘paged’]))) : ?>and then underneath that a bunch of code calling for archives. Any ideas? Thank you
- The topic ‘How to edit index.php to show multiple posts on the home page’ is closed to new replies.