In my taxonomy.php, my query is `
$term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); $wpq = array ('posts_per_page' => -1, $term->taxonomy => $term->slug, 'order' => 'ASC', 'orderby' => 'slug'); $loop = new WP_Query($wpq);`
It correctly retrieves the
droids posts I am looking for, but does not
slug. I can't find
slug as an option in the documentation any more, but I swear I have successfully used it before.
How do I make it so?
'orderby' => 'name' appears to work in 1 category but not in my other category (so far, there are only 2). I'm wondering if the category where it does work is just coincidence...