• The order in which related posts are shown is random, which is defined in includes/class-at-related-posts.php by ‘orderby’ => ‘rand’

    I’ve changed the order to date + descending:
    ‘orderby’ => ‘date’,
    ‘order’ => ‘DESC’

    It does the job, but is there a smarter way to adjust this? If the plugin is being updated, my change(s) will be overwritten.

  • The topic ‘Sorting order’ is closed to new replies.