Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter selftnt

    (@selftnt)

    no one who might help? please

    I had this same problem and figured it out. Hope this helps:

    In WP go to Plugins>Editor, choose MF Timeline from the dropdown in the upper right. The file: class-mf-timeline.php should appear in the editor. Look for this line:

    krsort( $events ); // Sort the years numeric

    Just comment it out:

    //krsort( $events ); // Sort the years numeric

    Then click the Update File button at the bottom. This should reverse the order in which the dates are being returned.

    Consider this a correction to the previous post. Sorry. It was a mistake to comment it out. Instead you should change the sort to this:

    ksort( $events ); // Sort the years numeric

    This still sorts the array but does it from low to high instead of high to low.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘showing events by date ascending’ is closed to new replies.