Hot answers tagged

3

numberposts doesn't exist for WP_Query instead use "posts_per_page" => 1


1

From the get_terms documentation: orderby (string): Field(s) to order terms by. Accepts term fields ('name', 'slug', 'term_group', 'term_id', 'id', 'description'), 'count' for term taxonomy count, 'include' to match the 'order' of the $include param, 'meta_value', 'meta_value_num', the value of $meta_key, the array keys of $meta_query, or 'none' to omit ...



Only top voted, non community-wiki answers of a minimum length are eligible