You're almost there my friend. Just check with $query->is_tag() rather than only is_tag() . So your updated code will be- function main_query_mods( $query ) ...
確定! 回上一頁