test 123

First, edit the post that you don’t want to show on the front page and add a custom field of “exclude” to it. The value of that field can be anything… we’re not going to check the value, we just want to see if the custom field exists for the post.
Do this each time you want to set a post to not show in the main list.

You’ll find the custom field se


A bit lower in the code, you’ll see:

<?php endwhile; ?>

Right before that line, let’s close that if statement we just added:

    <?php } ?>
<?php endwhile; ?>


Leave a comment

Your email address will not be published. Required fields are marked *