Head Meta Pro enables you to configure the perfect HTML meta tags for your WordPress-powered site. You can define meta tags for each type of page-view, including single posts, pages, archives, search results and more. Head Meta Pro gives you granular control over your meta tags with shortcut variables like %DATE% to include dynamic, context-specific information. This post serves as a quick reference guide for all of the shortcut variables provided with the plugin.

Contents

General shortcut variables

  • {{ β€” converts to <
  • }} β€” converts to >
  • %TAB% β€” tab space
  • %BR% β€” new line / break
  • %NULL% β€” nullifies and removes the meta tag
  • %CURRENT_URL% β€” outputs the current URL
  • %DATE_YEAR% β€” four digit representation of a year (e.g., 2025)
  • %DATE_MONTH_m% β€” numeric representation of current month (from 01 to 12)
  • %DATE_MONTH_n% β€” numeric representation of current month, without leading zeros (1 to 12)
  • %DATE_MONTH_F% β€” full textual representation of current month (January through December)
  • %DATE_DAY_d% β€” current day of the month (from 01 to 31)
  • %DATE_DAY_D% β€” textual representation of a day (three letters)
  • %DATE_DAY_j% β€” current day of the month without leading zeros (1 to 31)
  • %DATE_DAY_l% β€” full textual representation of a day (e.g., Friday)

Site-specific shortcut variables

  • %SITE_NAME% β€” site name/title
  • %SITE_DESC% β€” site description
  • %SITE_CHARSET% β€” site charset
  • %SITE_LANGUAGE% β€” site language
  • %SITE_THEME% β€” theme name
  • %SITE_DESIGNER% β€” theme author
  • %SITE_ADMIN% β€” site admin name
  • %SITE_AUTHORS% β€” all site authors (max 10 authors)
  • %SITE_CATS% β€” all site categories (max 500 characters)
  • %SITE_COPYRIGHT% β€” copyright with year and site name
  • %SITE_GENERATOR% β€” outputs β€œWordPress”

Post and Page shortcut variables

  • %POST_TITLE% β€” post title
  • %POST_DESC% β€” first 155 characters of post content
  • %POST_AUTHOR% β€” post author
  • %POST_CATEGORIES% β€” post categories
  • %POST_CATEGORY% β€” first post category
  • %POST_TAGS% β€” post tags
  • %POST_TAG% β€” first post tag
  • %POST_DATE% β€” post date
  • %POST_URL% β€” post URI / permalink
  • %POST_IMAGE% β€” featured image URL
  • %POST_EXCERPT% β€” post excerpt
  • %POST_TYPE% β€” post type
  • %POST_ID% β€” post ID
  • %POST_FORMAT% β€” post format
  • %POST_TERMS% β€” all custom taxonomy terms associated with post
  • %POST_TERMS_{taxonomy}% β€” all post terms for {taxonomy} (lowercase)
  • %ARCHIVE_TYPE% β€” type of archive (e.g., category, tag, month)
  • %ARCHIVE_NAME% β€” name of archive (e.g., author name, search term)
  • %ARCHIVE_PAGE_CURRENT% β€” current archive page number (for paged archives)
  • %ARCHIVE_PAGE_COUNT% β€” number of pages in archive
  • %ARCHIVE_POST_COUNT% β€” number of posts in archive

404 Not Found shortcut variables

  • %404_URI% β€” URI of 404 β€œNot Found” page