Ordering by Multiple Fields

Ajax Load More provides support for a single orderby parameter, however the WP_Query class allows for ordering by multiple parameters. By using theĀ  alm_query_args filter you can extend the Ajax Load More query to order posts by multiple parameters.


« Back to Code Samples