Support Log in

Title and Description Templates

User Guide
Prefer video? Watch the Rank Forge tutorials 9 short guides covering every feature Watch

Templates let you set default SEO titles and meta descriptions for entire post types at once, rather than writing them individually for every single page. This is especially powerful for large sites — if you have 500 blog posts, 200 product pages, and 50 landing pages, templates ensure every one of them has a well-formatted, keyword-rich title and description without any manual work. They act as your safety net: even if you forget to write a custom title on a specific post, the template produces something sensible automatically.

Why Templates Matter

Without templates, any page where you have not manually written an SEO title will default to the raw post title — which may be too long, too short, or missing your site name. Templates solve this by defining a pattern for each post type that is applied automatically.

Step-by-Step: Setting Up Templates

  1. Go to Rank Forge > Settings in the WordPress sidebar, tab Search Appearance, card Title Templates.
  2. You will see a block for each public post type on your site (Posts, Pages, Products, etc.), with a Separator menu above the blocks.
  3. For each post type, you can set a title template and a description template.
  4. Type your template using a combination of plain text and variables (listed below).
  5. Check the Live Preview below each template field. It fills the variables with sample values, so it shows the pattern and not a real post.
  6. Repeat for each post type you want to cover.
  7. Click Save Settings at the bottom of the page.
  8. Templates take effect immediately — every page without a custom title/description now uses its template.

Available Template Variables

Use these placeholders in your templates. Rank Forge replaces them with the actual values for each page:

VariableWhat It BecomesExample Output
{{title}}The post or page titleBest Running Shoes 2026
{{siteName}}Your WordPress site nameMy Sports Blog
{{excerpt}}The post excerpt, used whole; when the post has none, the first sentences of its text (up to 160 characters)A comprehensive review of the top…
{{category}}The primary category of the post; empty for a post type without categoriesFootwear Reviews
{{date}}The publication dateMarch 15, 2026
{{currentYear}}The current year (updates automatically)2026
{{separator}}A separator character (the Separator menu of the Title Templates card)| or –
{{author}}The post author display nameSarah Johnson
{{siteDesc}}Your site taglineGear tests and trail guides
{{modifiedDate}}The date the post was last modifiedApril 2, 2026
{{currentMonth}}The current month name (updates automatically)October

Five Template Examples for Different Post Types

Post TypeTitle TemplateResult Example
Blog posts{{title}} {{separator}} {{siteName}}Best Running Shoes 2026 | My Sports Blog
Product pagesBuy {{title}} Online {{separator}} {{siteName}}Buy Wireless Headphones XR Online | Tech Store
News posts (a post type with categories){{title}} in {{category}} {{separator}} {{siteName}}Store Hours Change in Announcements | My Sports Blog
Guides{{title}} by {{author}} {{separator}} {{siteName}}Trail Shoe Guide by Sarah Johnson | My Sports Blog
Events{{title}} ({{date}}) {{separator}} {{siteName}}Spring Race (March 15, 2026) | My Sports Blog
Description template examples:
Post TypeDescription TemplateResult Example
Blog posts{{excerpt}}A comprehensive review of the top 10 running shoes for 2026, tested for comfort, durability, and value.
Product pagesShop {{title}} at {{siteName}}. Free shipping on orders over $50. See specs, reviews, and pricing.Shop Wireless Headphones XR at Tech Store. Free shipping on orders over $50. See specs, reviews, and pricing.
Guides (a post type with categories)Read more {{category}} advice on {{siteName}}. Guides, reviews, and tips updated for {{currentYear}}.Read more Footwear Reviews advice on My Sports Blog. Guides, reviews, and tips updated for 2026.

How Templates Interact with Custom Entries

Templates are defaults — they apply only when you have not written a custom title or description on a specific post. The priority order is:

  1. Custom title/description you wrote on the individual post (highest priority)
  2. Template for that post type (used when no custom entry exists)
  3. Fallback — the raw post title and excerpt (used when no template and no custom entry exist)

This means you can use templates as a safety net for the majority of your pages and manually craft titles for your most important content — the homepage, top-performing blog posts, and key landing pages.

Real-World Scenario

Imagine you run an online store with 300 product pages. Instead of writing SEO titles for each one, you set a template: Buy {{title}} — Free Shipping {{separator}} {{siteName}}. Now every product automatically gets a title like “Buy Ergonomic Office Chair — Free Shipping | WorkSpace Store.” When your flagship product deserves extra attention, you write a custom title that overrides the template just for that page.

> Good to know: Templates are especially valuable when the post title alone says too little. Without a template, a post titled “Footwear Reviews” is shown in Google as just “Footwear Reviews” with no context. A template such as {{title}} Articles & Guides {{separator}} {{siteName}} turns it into “Footwear Reviews Articles & Guides | My Sports Blog”.

> Tip: Include {{currentYear}} in templates for content that should appear fresh. A title like “Best Running Shoes {{currentYear}}” automatically updates to the current year without you touching it.

Common Mistakes

  • Forgetting your custom post types. Each public post type, except attachments, has its own block in the Title Templates card. Check the blocks of the custom post types you use as well as Posts and Pages.
  • Making templates too long. Remember the 60-character limit for titles. A template like {{title}} — The Ultimate Guide {{separator}} {{siteName}} might produce titles that are 80+ characters, getting truncated every time.
  • Not testing templates with actual content. Use the Live Preview in the Title Templates card to check the pattern, then open a real post and look at its Google preview in the Rank Forge box.

—

Forge AI Assistant Online

Hi! I'm the Rank Forge AI assistant. Ask me anything about the plugin — setup, features, troubleshooting, or development.

Just now
Powered by Forge AI · Browse docs