Separate posts by days (3 posts)

  1. Kiddeath91
    Posted 11 years ago #

    Any WP PHP gurus, this may be for you. Trying to hack the WP source to get daily posts to be separated by some type of demarcation (probably an <hr />). I want this to happen in between days. So when I put up say five posts today, tomorrow when I post the php (or Javascript?) will automatically insert a single <hr /> tag between today's posts and yesterday's, etc. Don't know how else to describe this. Any help/code/links would be sweet.

  2. prissed
    Posted 11 years ago #

    If you want an example, you could take a look at the index.php for the WordPress Classic template.

    It separates by day.

    You would use <?php the_date(); ?> to get this working.


  3. Kiddeath91
    Posted 11 years ago #

    Prissed, THANKS!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.