WordPress.org

Ready to get started?Download WordPress

Forums

jQuery Archive List Widget
[resolved] Possible to show post dates? (2 posts)

  1. augustkg
    Member
    Posted 6 months ago #

    Hey Miguel :)

    Thanks for an awesome plugin.

    Is it possible to show the date after (or before) the post name under archives? Like "postname - 30/1"?

    Best regards. I'll be sure to rate you 5 stars :)

    http://wordpress.org/plugins/jquery-archive-list-widget/

  2. Miguel Useche
    Member
    Plugin Author

    Posted 5 months ago #

    Thank you for using my plugin.

    Currently there's no option to do it but it's easy to do it by modifying the source code, just change this line:

    $html.= '<a href="' . get_permalink($post->ID) . '">' . $post->post_title . '</a></li>';

    To this:

    $html.= '<a>ID) . '">' . $post->post_title . ' ' . date("d/M", strtotime($post->post_date)) . '</a>';

Reply

You must log in to post.

About this Plugin

About this Topic

Tags