List of snippet variables available in Yoast SEO. Yoast SEO’s ability to automatically add SEO title and meta description templates to the homepage, all (custom) post types, all (custom) taxonomies, products, collections, and other pages is one of its most essential features.
Snippet available in Yoast SEO
We include SEO-friendly default templates, but you may easily customize the default templates. In this tutorial, we’ll go through all of the possible variables in Yoast SEO.
If you want to learn more about variables and how Yoast SEO uses them, you should read this post. Check out this tutorial to learn how to customize the default snippet template. WordPress Social Auto Poster
Basic variables
Label | Variable | Description |
---|---|---|
Date | %%date%% |
Replaced with the date of the post/page |
Title | %%title%% |
Replaced with the title of the post/page |
Parent title | %%parent_title%% |
Replaced with the title of the parent page of the current page |
Archive title | %%archive_title%% |
Replaced with the normal title for an archive generated by WordPress |
Site title | %%sitename%% |
The site’s title from the Settings > General page |
Tagline | %%sitedesc%% |
The site’s tagline from the Settings > General page |
Excerpt | %%excerpt%% |
Replaced with the post/page excerpt (or auto-generated if it does not exist) |
Excerpt only | %%excerpt_only%% |
Replaced with the post/page excerpt (without auto-generation) |
Tag | %%tag%% |
Replaced with the current tag/tags |
Category | %%category%% |
Replaced with the post categories (comma separated) |
Primary category | %%primary_category%% |
Replaced with the primary category of the post/page |
Category description | %%category_description%% |
Replaced with the category description |
Tag description | %%tag_description%% |
Replaced with the tag description |
Term description | %%term_description%% |
Replaced with the term description |
Term title | %%term_title%% |
Replaced with the term name |
Search phrase | %%searchphrase%% |
Replaced with the current search phrase |
Separator | %%sep%% |
The separator defined in your theme’s wp_title() tag. |