Support » Plugin: Simple Links » Sort on pub date?

Viewing 1 replies (of 1 total)
  • Plugin Author Mat Lipe

    (@mat-lipe)

    Hello webcity,

    You should be able to accomplish this when using a shortcode by setting the orderby to post_date like so
    [simple-links orderby="post_date"]

    If you are using the widget you may accomplish this by using the filter simple_links_widget_settings. Add the following to your theme’s functions.php file.

    add_filter('simple_links_widget_settings','change_widget_settings');
    function change_widget_settings( array $settings ){
         $settings['orderby'] = 'post_date';
           return $settings;
    }

    I have not tested these but they should do the trick.

    Hope this helps.

    Cheers

Viewing 1 replies (of 1 total)
  • The topic ‘Sort on pub date?’ is closed to new replies.