|
/ Documentation /SEO settings/ How to Set Global Title and Description Templates with Variables

How to Set Global Title and Description Templates with Variables

Overview

SureRank generates each page’s meta title and description from a template made of plain text and variables, tokens wrapped in %…%, that get swapped for real content such as the post title, site name, or current year. One global template applies across your entire site unless a specific post or term has its own custom title or description.

Where to Find It

SureRank → General → Meta Templates

image

There are two fields:

  • Search Engine Title: default is %title% – %site_name%
  • Search Engine Description: default is %content%

This page controls the sitewide default template used for posts and pages without a custom title or description.

 The homepage has its own separate defaults, editable independently at SureRank → General → Home Page → General.

image

Steps for the Customer

  1. Go to SureRank → General → Meta Templates.
  2. Click into the Search Engine Title field and type @ at any point. 
image
  1. A variable picker opens so you can insert a dynamic variable without memorizing the syntax.
  2. Repeat for the Search Engine Description field.
  3. Watch the Search Engine Preview panel below the fields. It updates live to show how the title and description will look in Google search results as you type.
  4. Click Save.

Available Variables

VariableResolves to
%title%Post/page title
%excerpt%Post excerpt
%content%Post content
%site_name%Your site’s name
%tagline%Your site’s tagline
%permalink%The page’s URL
%published%Date published
%modified%Date last modified
%term_title%Category/tag name (on term archives)
%term_description%Category/tag description
%author_name%Author’s display name
%author_description%Author’s bio
%currentdate%, %currentday%, %currentmonth%, %currentyear%, %currenttime%Today’s date/time components
%org_name%, %org_logo%, %org_url%Organization details (from Local SEO/schema settings)
%custom_field.your_field_name%Any custom field value. Replace your_field_name with the actual field key.

Variable names are exact and case-sensitive. For example, it’s %currentyear%, not %current_year%.

One Template, Context-Aware

The same global template is reused everywhere, but %title% and %excerpt% intelligently resolve based on where they’re used:

  • On a blog post or page: %title% = post title, %excerpt% = post excerpt
  • On a category or tag archive: %title% = term name, %excerpt% = term description
  • On an author archive: %title% = author’s name, %excerpt% = author’s bio

Does a Post’s Own Title Override This?

Yes. If a specific post, page, or term has its own custom title or description set, that always overrides the global template for that one item. The global template only fills in items left blank.

Free vs. Pro

On Free, this one global template applies across every post type and taxonomy. Pro adds separate templates per post type and per taxonomy (for example, a distinct template just for Products versus Blog Posts) for more granular control.

Troubleshooting

Live preview shows the raw %variable% text instead of resolving it 

Check for a typo. Variable names must match exactly.

A page still shows the old title/description after you changed the template 

Check whether that specific post has its own custom title or description overriding the sitewide template.

Variables resolve to blank or incorrect values across many posts consistently 

Escalate. This can indicate a caching or data issue rather than a template mistake.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
Table of Contents
Scroll to Top