1 Snippets
<10 Favourites
<10 Downloads

Sort Events Category by Publish Date (Oldest First)

function sort_posts_by_category($query) { if ($query->is_main_query() && !is_admin()) { $oldest_first_categories = array(1483,1486,1485,1484,1482,1391); // Replace with the IDs…