List of variables for Yoast SEO

You are reading the English archive. The main navigation and service pages are available in Ukrainian.

List of variables for Yoast SEO

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.
WooCommerce

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)
← All articles

SEOKOZYR · COMMUNITY

Article discussion

Share your experience or ask a question about the article. Comments appear after review by the author.

Loading…

No links, website addresses, advertising or contact details. Google sign-in and an anti-spam check are required.

Clicking connects to Google for sign-in and Cloudflare Turnstile for bot protection. Your email stays private; your name appears with your comment. Privacy policy

Continue reading

SEO · WordPress

Website indexing via Google Indexing API

First, to set up the Google Indexing API, go to website developer and create a Service account. Specify the role as "Owner". Go to the project and create an access key. Click "Add Key", select "JSON" and…

1 min readRead article

Need help with your website?

Describe the problem and share your website address. We will review the context and work out the next steps.

Розкажіть, чим допомогти

Потрібен новий сайт чи більше клієнтів? Напишіть кілька слів.

  1. 1Про ваш сайт
  2. 2Як зв’язатися

Хочете одразу описати проєкт докладніше?

Заповнити бриф
Що вас цікавить?

Сайту ще немає? Просто залиште поле порожнім.

Поки ви заповнюєте форму, текст залишається у вашому браузері. Після переходу він передається обраному месенджеру або поштовій програмі.