The General Tab is the first tab in the Rank Math meta tabs. In order to go to the General Tab, you need to first edit a post. We have added the Meta Box on the same page where you write your content—in the post editing screen. All you have to do is scroll a tiny bit below the text area, and you’ll see it.
Here is how it looks if you’re using the block editor.
Now, let’s have a close look at each of the variables that are present in the General tab.
What Variables are supported
In the General Settings ⇒ Edit Snippet ⇒ Title, you will come across a lot of variables that are provided by Rank Math. Let’s look at each one in detail.
1. Separator Character
Separator character will add separators to your Title. It will use the separator that you have set in the Title settings. In the above image, the separator used is a pipe [ | ] in the title. Use
%sep% variable to insert the separator you have selected at WordPress Dashboard ⇒ Rank Math ⇒ Titles & Meta ⇒ Global:
2. Search Query
%search_query% will be only available in the search result pages and it will help you to set a search query for your post.
The counter variable
%count(varname)% will add a counter to your title which will start at 1 and will be incremented by 1.
4. File Name
%filename% variable will display the name of the file of your attachment in the title.
5. Site Title
%sitename% variable will display the name of your Site.
6. Site Description
%sitedesc% variable will display the description of your site.
7. Current Date
The current Date
%currentdate% variable will display the current date in your Title.
8. Current Day
The current day
%cureentday% variable will display the current day in the title.
9. Current Month
The current Month
%currentmonth% will display the current month.
10. Current Year
The Current Year
%currentyear% will display the current year as shown above.
11. Current Time
The Current Time
%currenttime% variable will display the current server time in your Title.
12. Current Time Advanced
Rank Math allows you to set the Current server time with a custom formatting pattern with the help of
%currenttime(F jS, Y)% variable.
13. Organization Name
You can set your organization name with the help of the
%org_name% variable. It will set the name that you have added in the Local SEO settings.
14. Organization Logo
%org_logo% variable will add a logo to your title.
15. Organization URL
%org_logo% variable will add the URL in the title.
16. Post Title
%title% variable will display the title of the current post or page.
17. Post Title of parent page
%parent_title% variable will display the title of the parent page of the current post or page.
18. Post Excerpt
Post Excerpt will show the excerpt of the current post. Also, this variable
%excerpt% will be auto-generated if there is no post excerpt available.
However, the Post Excerpt variable
%excerpt_only% will show the excerpt of the current post without any auto-generation as shown in the below image.
19. Post URL
%url% variable will display the URL of the current post or a page.
20. Post Thumbnail
%post_thumbnail% variable will show the current post thumbnail.
21. Date Published
%date% variable will show the date on which you published your post or a page.
%date(F, jS, Y)% variable publishes the date with the custom formatting pattern.
22. Date Modified
%modified% variable will show the last modified date of the current post or a page.
%modified(F, jS, Y)% variable will show the modified date with a custom formatting pattern.
23. Post Category
%category% variable will display the category of the current post or the current category on the category archives.
24. Post Categories
%categories% will display a comma-separated list of categories that are associated with the current post.
%categories(limit=3 & separator = | & exclude= 12, 23)% variable will show the list of categories of the current post alongwith the customization options.
26. Post Tag
%tag% variable will display the current post tag of the current post or the current tag on the tag archives.
27. Post Tags
%tags% variable will display the comma-separated list of tags that are associated with the current post.
28. Tags (advanced)
%tags(limit=3 & separator = | & exclude= 12, 23)% will output the list of tags with customization of the current post.
29. Current Term
%term% variable displays the name of the current term.
30. Term Description
%term_description% variable will display the current term description.
31. Custom Term(advanced)
%customterm(taxonomy-name)% will display the Custom Term Value in your title.
32. Custom Term description
%customterm_desc(taxonomy-name)% displays the custom term description.
33. Author ID
%userid% variable will display the user id of the current post or a page.
34. Post Author
%name% will display the author name of the current post, page, or the author archive.
35. Post ID
%id% displays the ID of the current post or the page.
36. Focus Keyword
With the focus keyword variable
%focuskw%, you can set the focus keyword of the current post or a page.
37. Custom Field (advanced)
%customfield(field-name)% shows the Custom field value in the title of your post.
%page% will help you to display the page numbers but will be displayed on page 2 and above.
39. Page Number
%pagenumber% will display the current page number.
40. Max Page
%pagetotal% variable will display the maximum page numbers.
41. Post Type Name Singular
%pt_single% will display the singular name of the current post type
42. Post Type Name Plural
%pt_plural% will display the plural name of the current post type.
43. Post Format Title
%customterm(post_format)% variable will display the custom term title.
44. Post Format Description
%customterm_desc(post_format)% variable will display the custom term description
45. Random Word
%randomword(word1| word2| word3)% variable will show the random word chosen from the list.
46. Product’s price
%wc_price% variable will display the price of the current WooCommerce product.
47. Product’s SKU
%wc_sku% variable will display the SKU of the current WooCommerce product.
48. Product’s short description.
%wc_shortdesc% variable will display a short description of the current WooCommerce product.
49. Product’s brand
%wc_brand% variable will display the brand of the current WooCommerce product.
You can use these variables in the global settings for Titles & Meta as well if you do not wish to use them on individual posts/pages/products every time you create new content.
Was this article helpful?
Still need help?
Submit Your Question
Please give us the details, our support team will get back to you.