Recent Posts with Excerpts
[resolved] Date-bug fix (5 posts)

  1. RippedSpine
    Posted 3 years ago #


    First of all, thanks for a lovely plug-in, it's very useful.

    Secondly, I had some problems getting the post-date into the <h3>-tag and I found a solution:

    change this code on line 91:

    if (!empty($date))
    echo '<h3 class="date">'.the_time($date).'</h3>';


    if (!empty($date))
    echo '<h3 class="date">'.get_the_time($date, $post).'</h3>';

    I hope this helps :)


  2. Seahawksean
    Posted 2 years ago #

    I just came to this forum to inform the developer of this bug and to find a solution. Thank you for sharing this.

  3. Seahawksean
    Posted 2 years ago #

    Actually, i just tried adding this code but it didn't have any affect on where the date is located. It's still not in the header tag.

    Where did you put a copy of this php file in your theme? On the root level or did you make a plugins folder beneath the root and put it in there? Or can you only alter the core file?

    Thanx for the advice.

  4. Stephanie Leary
    Plugin Author

    Posted 2 years ago #

    RippedSpine is right, it should be get_the_time(). I'll update the plugin in a moment.

    Seahawksean, you would be editing the plugin file, not a theme file. But you won't need to in about five minutes.

  5. Seahawksean
    Posted 2 years ago #

    Awesome! Thank you @Stephanie Leary! I'll keep an eye out for the plugin update notification.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Recent Posts with Excerpts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic