Primary

Tokens

The following tokens can be used to identify certain pages or sets of pages:

  • [single] – For single posts.
  • [page] – Identifies pages (the Page post type).
  • [home] – The home page.
  • [front] – The front page.
  • [type:xyz]- For a specific post type.
  • [archive] – An archive page.
  • [archive:xyz] – An archive page.
  • [category] – Category pages in general.
  • [category:xyz] – A specific category.
  • [has_term:term:taxonomy] – Whether the current post has the taxonomy term.
  • [tag] – A tag archive page.
  • [tag:xyz] – A specific tag archive page.
  • [tax] – A taxonomy archive page.
  • [tax:taxonomy] – A specific taxonomy archive page.
  • [tax:taxonomy:term] – A specific taxonomy term page.
  • [role:xyz] - A specific user role.
  • [group:xyz] - A specific group.
  • [author] – An author page.
  • [author:xyz] – A specific author’s page.
  • [language:xyz] - A specific language.
  • [search] – The search results page.
  • [404] – A 404 Not Found page
  • !... – Prefix tokens, slugs or titles with ! to exclude matching pages*.

Put each token on a separate line. Refer to the conditions instructions for more details.

*Tokens can be prefixed with an exclamation mark ! to exclude pages that match the condition. For example, one could show a widget only on pages except a specific page.