The main variables of the Yoast SEO plugin
| Tagged. | Variable | Description. |
|---|---|---|
| Date. | %%date%% |
Date of publication |
| Title. | %%title%% |
Title of the publication/page |
| Current year | %%currentyear%% | The current year is updated automatically |
| Parent title | %%parent_title%% |
Use the title of the parent current page |
| Archive name | %%archive_title%% |
Use a regular title for the archive |
| Website name | %%sitename%% |
Add a site name |
| Slogan | %%sitedesc%% |
Add a website slogan |
| Excerpt | %%excerpt%% |
Pull up an excerpt or automatically generated post/page text (if it does not exist) |
| Just an excerpt | %%excerpt_only%% |
Pull up a post/page fragment (without automatic creation) |
| Tagged. | %%tag%% |
Change to the current tag |
| Category. | %%category%% |
Specify a category |
| Primary category | %%primary_category%% |
Add the main category of the post/page |
| Category description | %%category_description%% |
Add the specified category description |
| Tag description | %%tag_description%% |
Add the specified tag description |
| Description of the term | %%term_description%% |
Add a description of the term |
| Name of the term | %%term_title%% |
Add a term name |
| Search phrase | %%s%searchphrase%% |
Add the current search phrase |
| Separator | %%sep%% |
The separator defined in the wp_title() tag of your theme. |
Yoast SEO advanced variable plugins
| Tagged. | Variables. | Description. |
|---|---|---|
| Type of publication (singular) | %%pt_single%% |
Single content type label |
| Type of publication (plural) | %%pt_plural%% |
Multiple content type label |
| Changed | %%modified%% |
Time of publication change |
| ID | %%id%% |
Post/page identifier |
| Name | %%name%% |
Name of the author of the publication/page |
| User description | %%user_description%% |
Add a user description of the post/page |
| Page number | %%page%% |
Add the current page number from the existing ones (i.e. page 2 of 4) |
| Number of pages | %%pagetotal%% |
Add the total number of the current page |
| Page number | %%pagenumber%% |
Add the current page number |
| Signature | %%caption%% |
Signature to the attachment |
| Keyword Focus | %%focuskw%% |
Add a keyword phrase |
| Error 404 | %%term404%% |
Replaced by a slug that caused a 404 |
| (custom field) | %%cf_<custom-field-name>%% |
Replace the value of the custom post field. Delete the |
| (custom taxonomy) | %%ct_%% |
Change to its own taxonomy of comma-separated publications. Remove . |
| Description (custom taxonomy) | %%ct_desc_%% |
Replaced with a special description of the taxonomy. Remove |
WooCommerce variables
%%ct_product_cat%% |
Product category (separated by commas) |
|---|---|
%%ct_product_tag%% |
Product tag (separated by commas) |
%%ct_pa_%% |
Product attribute (separated by commas). Be sure to remove the as they are not required. |
Yoast WooCommerce SEO variables
%%wc_shortdesc%% |
Add a short description of the product. (From version 6.2) |
|---|---|
%%wc_sku%% |
Add a unit of quantity (sku) of the product. (From version 6.2) |
%%wc_brand%% |
Add brand name. This variable only works with WooCommerce Brands and Perfect WooCommerce Brands plugins (since version 6.2). |
%%wc_price%% |
Replaced with the product price. (From version 6.2) |
