Is there a possibility of including the date of each post for this plugin, please? Preferably (dd.mm.yy) format.
http://wordpress.org/extend/plugins/latest-posts-by-author/
Is there a possibility of including the date of each post for this plugin, please? Preferably (dd.mm.yy) format.
http://wordpress.org/extend/plugins/latest-posts-by-author/
Create a new line just after this line in the plugin (I think it should be line 24):
$html .= '
In the blank line you just created, place the following code to display the date:
$html .= get_the_date('', $numpost->post_date);
It will use whatever date format you have specified on the Settings>General page of the WordPress admin.
Thank you, I will have to test this over the weekend! Will post back. :)
Please do! Sorry about the long wait.
The flu got me, but I've finally been able to test this now. It seemed to work like a charm, but then I noticed that it's returning the date of the latest posted entry only, for all listed entries. Tips, please?
That's strange. Try giving this a shot instead:
$html .= get_the_time('', $numpost->post_date);
This topic has been closed to new replies.