Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #309733

    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

    #310186

    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

    • This reply was modified 10 years, 2 months ago by Josue.
    #310666

    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

    #310770

    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

    #394739

    It looks like you fixed it in one of the last updates, don’t you? Now the dates are correct: https://miApple.me

    #394829

    Hey!

    Yes, there was a change to that file recently.

    Cheers!
    Josue

    #440270

    Ticket can be closed! ;-)

    Thanks& Cheers
    Gee Are

    • This reply was modified 9 years, 6 months ago by Gee Are Pabst.
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Enfold Combo Widget – Wrong dates display on comments’ is closed to new replies.