ProRank SEO

Template Variables Reference

Complete list of dynamic variables available in ProRank SEO templates.

Basic Variables

Essential variables available everywhere

VariableDescriptionExample Output
%title%Post or page titleHow to Start a Blog
%sitename%Website nameMy Awesome Site
%tagline%Site tagline/descriptionJust another WordPress site
%sep%Separator character| or - or •
%page%Page number (pagination)Page 2
%excerpt%Post excerptThis article explains...
%content%Auto-generated from contentFirst 160 chars of content...

Date & Time Variables

Dynamic date and time information

VariableDescriptionExample Output
%date%Publish dateJanuary 15, 2025
%modified%Last modified dateJanuary 20, 2025
%year%Publish year2025
%monthnum%Month number01
%monthname%Month nameJanuary
%day%Day of month15
%currentyear%Current year2025
%currentmonth%Current monthJanuary
%currentday%Current day22

Author Variables

Post author information

VariableDescriptionExample Output
%author%Author display nameJohn Doe
%author_firstname%Author first nameJohn
%author_lastname%Author last nameDoe
%user_description%Author bioWordPress developer and...

Taxonomy Variables

Category, tag, and taxonomy information

VariableDescriptionExample Output
%category%Primary categoryTechnology
%categories%All categoriesTech, WordPress, SEO
%tag%First tagtutorial
%tags%All tagstutorial, guide, tips
%category_description%Primary category descriptionArticles about technology...

Archive Variables

Special archive page variables

VariableDescriptionExample Output
%archive_date%Date archive titleJanuary 2025
%search_query%Search querywordpress seo
%post_type%Post type nameProducts
%post_type_singular%Post type singular nameProduct

WooCommerce Variables
E-commerce

Product-specific variables for online stores

VariableDescriptionExample Output
%price%Product price$49.99
%sale_price%Sale price$39.99
%sku%Product SKUWP-12345
%stock_status%Stock availabilityIn Stock
%product_cat%Product categoryElectronics
%product_tag%Product tagswireless, bluetooth
%product_brand%Product brandApple
%gallery_count%Number of images5 photos

Custom Fields
Advanced

Access custom field values in templates

Using Custom Fields

Access any custom field value using the format:

%custom_field:field_name%

Examples:
%custom_field:product_color% → "Blue"
%custom_field:event_date% → "January 30, 2025"
%custom_field:location% → "New York City"

ACF Fields

Advanced Custom Fields are automatically supported:

%custom_field:field_name% - Text fields
%custom_field:field_name% - Select fields
%custom_field:field_name% - True/False (outputs yes/no)
%custom_field:field_name% - Date fields (formatted)

Template Examples

Common template patterns for different content types

Blog Posts

Title: %title% %sep% %category% %sep% %sitename%
Result: "How to Start a Blog | Technology | My Site"

Description: %excerpt% Published on %date% by %author%.
Result: "Learn the basics of blogging... Published on Jan 15, 2025 by John Doe."

Product Pages

Title: Buy %title% - %price% | Free Shipping | %sitename%
Result: "Buy iPhone 15 Pro - $999 | Free Shipping | TechStore"

Description: %title% for sale at %price%. %stock_status%. %excerpt%
Result: "iPhone 15 Pro for sale at $999. In Stock. The latest flagship..."

Category Archives

Title: %term% Archives %page% %sep% %count% Articles %sep% %sitename%
Result: "WordPress Archives Page 2 | 45 Articles | BlogSite"

Description: Browse our %term% content. %term_description% %count% posts available.
Result: "Browse our WordPress content. All about WordPress CMS. 45 posts available."

Author Archives

Title: Articles by %author% %page% %sep% %sitename%
Result: "Articles by Jane Smith Page 3 | BlogName"

Description: Read articles written by %author%. %user_description%
Result: "Read articles written by Jane Smith. Professional writer and SEO expert."

Best Practices

Tips for using template variables effectively

Keep Templates Concise

Don't overload templates with too many variables. Focus on the most important information.

Test with Real Content

Preview how templates look with actual posts to ensure proper formatting.

Use Fallback Variables

Some variables like %excerpt% fall back to %content% if empty.

Consider Character Limits

Remember that titles should be 50-60 characters and descriptions 150-160 characters.

Watch for Empty Variables

Some variables may be empty (like %tag% on untagged posts). Plan accordingly.