Primary

Tokens

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

  • [single] – For single posts.
  • [page] – Identifies pages (the Page post type).
  • [home] – The home page.
  • [front] – The front page.
  • [archive] – 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.
  • [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
  • [small], [medium] and [large] – Identifies devices with small, medium-sized or large displays, such as mobiles, tablets or desktop and laptop displays.

Put each token on a separate line. Please refer to the Usage section for more details.

Advanced Features and Tokens

Widgets Control Pro provides additional tokens and advanced features.