Support » Plugins » query variable for terms

  • digitalnature



    Does anyone know the query variable I need to append to the URL to show to a specific term archive, like a tag?

    for example for categories this is “cat”:

    but I don’t know which is it for tags.
    neither ‘term’ or ‘term_id’ work…

Viewing 2 replies - 1 through 2 (of 2 total)
  • MichaelH




    yes, this works for tags when you have the tag slugs.

    I forgot to mention, I need this variable for any taxonomy term, not just tags (eg. like terms from custom taxonomies).

    Also I only have access to the term IDs, because I’m using wp_dropdown_categories which puts IDs on the dropdown options…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘query variable for terms’ is closed to new replies.