ProRank SEO

Template Variables Reference

Use these variables in your Titles & Meta templates to dynamically generate SEO titles and descriptions.

Site & Date Variables

VariableDescription
%sep%Title separator character
%separator%Alias for %sep%
%sitename%Site name
%site_name%Alias for %sitename%
%tagline%Site tagline
%site_tagline%Alias for %tagline%
%site_url%Site URL
%currentyear%Current year (e.g. 2026)
%currentmonth%Current month name
%currentmonth_num%Current month number
%currentday%Current day of month
%currentdate%Current date formatted
%currenttime%Current time
%page%Page number (for paginated content)
%page_number%Alias for %page%

Post & Page Variables

VariableDescription
%title%Post/page title
%excerpt%Post excerpt
%author%Post author display name
%date%Post publish date
%modified%Post last modified date
%seo_title%Custom SEO title (if set)
%seo_description%Custom SEO description (if set)

Archive & Taxonomy Variables

VariableDescription
%term%Taxonomy term name
%term_description%Taxonomy term description
%name%Author display name (author archives)
%search_query%Search query string
%searchphrase%Alias for %search_query%

WooCommerce Variables

Available on product pages when WooCommerce is active:

VariableDescription
%price%Product price
%sku%Product SKU
%stock_status%Stock availability (In stock / Out of stock)
%product_cat%Product categories
%product_tag%Product tags

Custom Fields

Access any post meta value using the custom field syntax:

VariableDescription
%custom_field:field_name%Value of the specified meta key
%cf:field_name%Shorthand alias

Raw meta values are returned. Arrays are joined with commas. Complex ACF fields (repeaters, groups, flexible content) are not suitable for template output.

Examples

Blog Post Title:
%title% %sep% %sitename%

Category Archive:
%term% Archives %sep% %sitename%

Author Archive:
Posts by %name% %sep% %sitename%

Product Page:
%title% - %price% %sep% %sitename%

Search Results:
Search results for "%search_query%" %sep% %sitename%

Best Practices

  • • Keep titles under 60 characters and descriptions under 160 characters
  • • Always include %sitename% for brand recognition
  • • Use %sep% instead of hardcoded separators for consistency
  • • Test templates with actual content to check output length
  • • Use %currentyear% in evergreen content to keep dates fresh