Add a <hr> to the end of each post
-
Hey Everyone. I have some “exclusive news” on the side of one my pages that is pulling this code:
<?php $posts = get_posts('numberposts=6&offset=0&category=13'); foreach($posts as $post){ ?> <p><a href="<?php the_permalink(); ?>"> <?php the_title(); ?></a><br> <?php the_excerpt(); ?> <?php } ?>
What I want to do is after each post to just have a simple <HR> tag inserted to help separate each listing.
I’ve looked everywhere and just can’t seem to find what I’m looking for…
Thank you for your help as these forums have been a great bit of help!
-Mark
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Add a <hr> to the end of each post’ is closed to new replies.