Sort by title

If you need to sort by title. Here's is the code to how to do it.

function awsm_job_custom_query_args( $args ) {
    $args['order'] = 'ASC';
    $args['orderby'] = 'title';
    return $args;
}
add_filter( 'awsm_job_query_args', 'awsm_job_custom_query_args' );

Last updated