The following code works fine for me:
$term = get_term_by('slug', ‘foo’, 'post_tag');
$args = array (
'posts_per_page' => 5,
'paged' => $paged,
'post__not_in' => get_option( 'sticky_posts' ) ,
'tag__not_in' => $term
);
I'd now like to get_term_by
multiple tags, e.g., 'foo' and 'bar' (I'm trying to display all posts except those tagged 'foo' or 'bar').
I realize this is probably elementary, but I'm not sure how to go about it.
Ideas?