I am trying to make a list of posts that include posts from only a certain category that do not have the expired tag. I have tried about 15 different ways and I only seem to be able to get one to work at the same time.
This is what I have now:
I am also with with using category numbers, this was just one of the permutations I ended at.
<?php $query = new WP_Query('category_name=SWTOR&tag__not_in=expired' ); while ( $query->have_posts() ) : $query->the_post(); echo ' <li>'; the_title(); echo '</li> '; endwhile; // Reset Post Data wp_reset_postdata(); ?>