Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #349434

    Hi,

    The combo-wdget shows completely wrong dates for comments:
    http://www.openandromaps.org/support-de

    Best regards
    Christian

    #349760

    Hey Christian!

    Try opening up /enfold/framework/php/class-framework-widgets.php and change line 1085 from this.

    echo "<span class='news-time'>".get_the_time($time_format, $comment->comment_post_ID)." ".__('by','avia_framework')." ".$comment->comment_author."</span>";
    

    To this.

    echo "<span class='news-time'>".get_comment_date($time_format, $comment->comment_ID)." ".__('by','avia_framework')." ".$comment->comment_author."</span>";
    

    Regards,
    Elliott

    • This reply was modified 10 years, 1 month ago by Elliott.
    #349774

    Hi Eliott,

    Unfortunately this does’nt solve the problem, with this version the date does’nt show up any more.

    Best regards, Christian

    #350209

    Hey!

    It seems to be working fine on my XAMPP setup. Are you sure lines 1083 – 1086 look exactly like this?

    if($time_format)
    {
    	echo "<span class='news-time'>".get_comment_date($time_format, $comment->comment_ID)." ".__('by','avia_framework')." ".$comment->comment_author."</span>";
    }
    

    Also be sure to deactivate all plugins while testing.

    Best regards,
    Elliott

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.