I'm encountering an issue when I want to display some articles based on a "composed" tag like "amnesty-international". The query doesn't return any results. The fact is I have two article tagged with this slug. This is the code I use in the template archive.php:
$current_tag = single_term_title("", false); $args= array( 'post_type' => 'adverts', 'tag' => $current_tag ); $adsQuery = new WP_Query($args);
So this url doesnt return anything : http://www.mydomain.net/tag/amnesty-international/
Should I use another function ?