Support » Plugin: Ahmeti Wp Timeline » Default Sort

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ahmeti

    (@ahmeti)

    Hi amicatech,

    I will add your request to the settings page in the plugin. If you want you can quickly…

    File:
    wp-content\plugins\ahmeti-wp-timeline\AhmetiWpTimelineFunction.php

    $sql_group=mysql_query(‘SELECT * FROM ‘.AHMETI_WP_TIMELINE_DB_PREFIX.’ahmeti_wp_timeline WHERE group_id=”‘.$group_id.'” AND type=”event” ORDER BY timeline_bc ASC, timeline_date ASC ‘);

    Please change the above code as follows.

    $sql_group=mysql_query(‘SELECT * FROM ‘.AHMETI_WP_TIMELINE_DB_PREFIX.’ahmeti_wp_timeline WHERE group_id=”‘.$group_id.'” AND type=”event” ORDER BY timeline_bc DESC, timeline_date DESC ‘);

    Thank you very much….

    Hi, I had the same need…

    THANK YOU for the hint and… for your excellent work my dear!

    Plugin Author ahmeti

    (@ahmeti)

    This feature was added to version 4.0.
    Thank you,
    Ahmet

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Default Sort’ is closed to new replies.