WordPress.org

Ready to get started?Download WordPress

Forums

Posts per Cat
[resolved] Add number of comment link (5 posts)

  1. jareddd
    Member
    Posted 3 years ago #

    Hello,

    Thank you for your plug-in, it is what I have been looking for.

    I have figured out how to add post date next to post title using the following:
    echo mysql2date(' M j Y', $clanak->post_date);

    But the following is adding the latest post's comment link next to all the post titles:

    echo $post.comments_number('0', '1', '%');

    Question: How do I add each post's comment link (total number of comments) next to the post title?

    Please help!

    Thank you for your time,

    Jared

    http://wordpress.org/extend/plugins/posts-per-cat/

  2. urkekg
    Member
    Plugin Author

    Posted 3 years ago #

    Check out new version 1.0.0 (just uploaded to svn). I added option to show comments number with link.

  3. jareddd
    Member
    Posted 3 years ago #

    Thank you very much sir!

  4. Miesjel2012
    Member
    Posted 2 years ago #

    Hello,

    Where do i have to put the code to add the date to the post title?

    Thanks for answering.

    Miesjel

  5. urkekg
    Member
    Plugin Author

    Posted 2 years ago #

    You can modify wp-postspercat.php from trunk on line 461 if you add code

    '.date_i18n(__('F j, Y g:i a'), strtotime($post->post_date)).'

    right after opening LI tag.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic