How to order category.php loop by ‘meta_value’?
First you will need the slug of the current category: $cat = get_query_var(‘cat’); $currentcat = get_category ($cat); Then you can use the same loop. Just add the following to $query_args to limit the outcome to the current category: ‘category_name’ => $currentcat->slug,