Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ************************************************** post loop ******************************************************
- <?php if(have_posts()) : ?>
- <?php while (have_posts()) : the_post(); ?>
- <!-- your content here -->
- <?php endwhile; ?>
- <?php endif; ?>
- ************** Post loop with 404 error message*************************
- <?php if(have_posts()) : ?>
- <?php while (have_posts()) : the_post(); ?>
- <!-- your content here -->
- <?php endwhile; ?>
- <?php else : ?>
- <h3><?php _e('404 Error: Not Found'); ?></h3>
- <?php endif; ?>
- ************************************************ End post loop *****************************************************
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement