Tagged: enfold, Enfold Combo Widget, Widget
Hi,
on my blog https://miapple.me I use the ‘Enfold Combo Widget” with popular, recent and comments. The problem is that in the comments section wrong dates are displayed, e.g. the latest 5 comments are from today and not from 2013!
Any tips?
Cheers,
Gee Are
Hey Gee Are!
That date is the date of the post, not the comment. And that’s unexpected, have you tried disabling all third-party plugins to see if it gets fixed?
Best regards,
Josue
Hi Josue,
it’s the same on my other blog https://pabst-socialmedia.com/. De-activating all plugins did not change it. Any other tips?
Cheers,
Gee Are
Hey!
Thank you for the update.
Please edit framework > php > class-framework-widgets.php, find this code on line 1065:
$comments = get_comments($avia_new_query);
Replace it with:
$commentargs = array( 'order' => 'DESC', 'number' => '5', 'status' => 'approve');
$comments = get_comments($commentargs);
Cheers!
Ismael
It looks like you fixed it in one of the last updates, don’t you? Now the dates are correct: https://miApple.me
Hey!
Yes, there was a change to that file recently.
Cheers!
Josue
Ticket can be closed! ;-)
Thanks& Cheers
Gee Are