jareddd
Member
Posted 4 months 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/
urkekg
Member
Posted 4 months ago #
Check out new version 1.0.0 (just uploaded to svn). I added option to show comments number with link.
jareddd
Member
Posted 4 months ago #
Miesjel2012
Member
Posted 1 week ago #
Hello,
Where do i have to put the code to add the date to the post title?
Thanks for answering.
Miesjel
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.