CoreCited
Technical

How to add meta description in WordPress and Shopify, with Yoast, Rank Math, AIOSEO, Wix and Squarespace

How to add a meta description in WordPress, with or without Yoast, Rank Math or AIOSEO, and in Shopify, Wix and Squarespace, from each vendor's docs.

AlexFounder & Developer13 min read

How to add a meta description in WordPress depends on what you run: core WordPress has no field for it, so the answer is a plugin, WordPress.com’s SEO tools, or a few lines of code. Shopify, Wix and Squarespace have the field built in, each in a different place. This guide gives the exact steps for each, taken from every vendor’s own documentation as read on 11 October 2026, plus the templates that fill descriptions in bulk and the mistakes that stop them showing.

The steps put text in the field. To decide what the text should say, use our guide to writing a meta description, or let the free meta description generator draft three options from the page.

Key takeaways
1WordPress core prints no meta description. Its own docs say meta tags are not included by default.
2Yoast, Rank Math and AIOSEO each add a description field in the editor and templates per content type. Yoast's default template is blank.
3Shopify has a Meta description field under Search engine listing on products, collections, pages and blog posts. A blank product field is filled from the product description.
4Platforms disagree on length: Yoast flags over 156 characters, Rank Math 160 characters or 920 pixels, Shopify 320 or 160 depending on the page type.
5The most common fault is two description tags, from a theme and a plugin. Check the live HTML after any change.

Where the field is, platform by platform

Where to add a meta description
From each vendor's documentation, read 11 October 2026. Menus change; the sections below quote the exact steps. Toggle columns.
Where the field isBulk optionWhat the vendor says about length
WordPress (core)Nowhere: not included by defaultCode or a pluginNothing stated
WordPress.comJetpack panel in the editor: SEO Description (paid plans)Auto-generate optionFront page: up to 160 characters
Yoast SEOYoast sidebar > Search appearance > Meta descriptionTemplates with variables; bulk editorFlags under 120 or over 156 characters
Rank MathRank Math icon > General tab > Edit Snippet > DescriptionTitles & Meta templates with variables160 characters or 920 pixels
AIOSEOAIOSEO Settings below the editor > Meta DescriptionSearch Appearance > Content Types155 to 160 characters (blog guidance)
ShopifySearch engine listing > pencil icon > Meta descriptionProduct CSV: SEO description column320 characters (products, collections, posts); 160 (pages)
WixPage > More Actions > SEO basics > Meta descriptionSEO Settings per page type, with variables50 to 160; products up to 156
SquarespacePage or item settings > SEO tab > SEO DescriptionNone documented50 to 300 advised; 400 maximum

Whatever a field allows, Google cuts the snippet to fit the screen, roughly 150 to 160 characters on desktop. Our post on meta description length shows what Google actually cut on live results, so treat the vendors’ numbers as field limits, not targets.

WordPress without a plugin

WordPress’s own documentation is plain about it: meta tags “are stored within the head of your header.php template file. By default, they are not included in WordPress, but you can manually include them”. It adds that custom fields or plugins from the official directory can do the job[1]. So a fresh WordPress install sends no meta description at all, and Google writes a snippet from the page, which is what it does most of the time anyway[28].

On WordPress.com

WordPress.com has its own SEO tools, available “on sites with our WordPress.com Premium, Business, and Commerce plans”[3]. For a post or page:

  1. While editing, click the Jetpack icon (a lightning bolt on a green circle) in the top right corner.
  2. Under the SEO section, type an SEO Title and SEO Description.
  3. Click Publish or Save.

The front page has a separate setting: go to Jetpack, Settings, then the Traffic tab, and in the Search engine optimization section click the option to expand and edit your front page meta description. WordPress.com asks for “a brief description (up to 160 characters)” and notes that this setting applies to the front page only. There is also a “Generate metadata” button that writes the fields with AI[3].

On a self-hosted site, with code

If you don’t want a plugin, a theme can print the tag through the wp_head hook, which “Prints scripts or data in the head tag on the front end”[2]. Here is a minimal version that uses each post’s excerpt. It is our example, not WordPress documentation, and you should not use it on a site that also runs an SEO plugin.

Our example: a meta description from the excerpt (functions.php)
<?php
// In a child theme's functions.php, or a small site plugin.
// Prints one meta description on single posts and pages, from the excerpt.
// Do not use this alongside Yoast, Rank Math or AIOSEO: you would get two tags.
add_action( 'wp_head', function () {
    if ( ! is_singular() ) {
        return;
    }
    $text = get_the_excerpt();
    if ( ! $text ) {
        return;
    }
    $text = wp_strip_all_tags( $text );
    printf( '<meta name="description" content="%s" />' . "\n", esc_attr( $text ) );
} );

Write the excerpt as the description: the Excerpt box in the post settings becomes the text. Posts without an excerpt get WordPress’s automatic one, the opening words of the post, which is often good enough if your first paragraph answers the question.

Meta description in Yoast SEO

Yoast SEO: one post or page
From Yoast's guide to meta descriptions, read 11 October 2026.
Open the sidebar
Edit the post or page and open the Yoast SEO sidebar.
Step 1: Open the sidebar. Edit the post or page and open the Yoast SEO sidebar.
Step 2: Search appearance. Click "Search appearance". The snippet editor opens with fields for the SEO title, the slug and the meta description.
Step 3: Write it. Type in the meta description field. The bar under it is orange when you start and turns green when you've added enough.
Step 4: Update. Save or update the post. The new tag goes out with the page.

Yoast’s check counts characters: its length assessment “measures whether your description is too short (less than 120 characters) or too long (more than 156 characters)”[4]. It does not measure pixels, so a description in capitals can pass the bar and still be cut. Check wide text in the SERP preview.

Yoast templates and variables

For pages you will never edit one by one, set a template. In the Yoast SEO menu go to Settings, then Content types (or Categories & tags, Archive pages, Special pages, Media pages). Each type, such as Homepage, Posts, Pages or Products, has a Search appearance section where you edit the SEO title and meta description templates. Click Insert variable to add standard elements, then Save changes[5].

Useful variables, in Yoast’s own definitions:

  • %%excerpt%%: “Replaced with the post/page excerpt (or auto-generated if it does not exist)”
  • %%excerpt_only%%: the excerpt without auto-generation
  • %%title%%: the title of the post or page
  • %%primary_category%%: the post’s primary category
  • %%sitename%% and %%sitedesc%%: the site title and tagline from Settings, General

One detail most guides miss: “For meta descriptions, the default is blank”[6]. Installing Yoast does not give your pages descriptions; you have to write them or set a template. And avoid %%sitedesc%% on its own, which puts the same tagline on every page.

To fix many existing posts by hand, Yoast’s guide points to the Tools page: click “Bulk editor”, then the “Description” tab. It warns that there you “won’t get warnings if your description is too short/long”[4].

Meta description in Rank Math

Open the post or page and click the Rank Math icon at the top right. In the block editor, the description is in the General tab: “Click on Edit Snippet and enter your description in the Description box”. In Elementor, it is the Description section of the Rank Math panel[8].

The Title and Description fields “support variables, and you can access these variables by clicking the down arrow in the right corner of the field”. The common ones are %title%, %excerpt% (auto-generated if there is no excerpt), %excerpt_only%, %sep% and %sitename%[9]. Site-wide templates live under Rank Math SEO, Titles & Meta, with fields such as Single Post Description, Single Page Description and Single Product Description[10]. For WooCommerce products, Rank Math falls back in this order: SEO description, product short description, single product description, product description[11].

Rank Math checks both units: it “limits the meta description to 160 characters” and “to 920 pixels”, and recommends 50 to 160 characters[12].

Meta description in All in One SEO

Edit the post or page and scroll down to the AIOSEO Settings. You will see a SERP preview and the Title and Meta Description settings. You can type, or click one of the smart tags shown above the field, or type the hash character (#) to list them all. What you set here “will override the format set under All in One SEO » Search Appearance”[13].

For a site-wide format, click Search Appearance in the All in One SEO menu, then the Content Types tab. Each content type, such as Posts, has its own Meta Description format that applies to every item unless overridden[14]. If your home page shows your latest posts, its description is in the Home Page Settings section of Search Appearance; if it is a static page, edit that page and use its AIOSEO Settings[15]. AIOSEO’s own blog recommends 155 to 160 characters[16].

Installing an SEO plugin does not write a single description. It gives you a field and a template. Until one of them is filled, Google writes your snippets.

Shopify meta description: products, collections, pages, posts

Shopify has the field built in on every content type, in a section called the search engine listing. The steps below are from Shopify’s help center as read on 11 October 2026.

  1. From your Shopify admin, go to Products.
  2. Click the name of the product.
  3. In the Search engine listing section, click the pencil icon.
  4. Enter a description in the Meta description field.
  5. Click Save.

Sources: products[17], collections[18], pages[19], blog posts[20], home page[21].

On length, Shopify’s own pages disagree. For products, collections and blog posts it says that if you enter “more than 320 characters for a description, then your text might get cut off in search engine results”[17][20]. The pages article gives 160[19]. Google’s cut is by width and nearer the lower figure, so write for about 155 and treat 320 as the field’s ceiling, not a target.

Blank fields and bulk edits in Shopify

If you leave a product’s field empty, Shopify fills it: “When these fields are blank, SEO information is automatically generated based on your product title and description.” The catch is in the next line: “If you manually edit SEO fields and later update the product description, then the SEO Description won’t automatically update”[23]. A description written once can go stale while the product changes.

For many products at once, use a CSV import. The SEO description column “can be alphanumeric and include up to 320 characters. If you leave this column blank, then the product Description is used”[22]. Export your products, fill the column in a spreadsheet, and import the file back. We found no SEO column documented for Shopify’s in-admin bulk editor, so the CSV route is the documented one.

Wix

For a page in the Wix Editor: click Pages & Menu, click the More Actions icon next to the page, click SEO basics, and enter your text under Meta description (description in search results), then Publish. Studio and Harmony editors reach the same field through the page’s SEO settings. Wix advises 50 to 160 characters[24].

For templates, go to SEO in your dashboard, then SEO Settings, pick the page type and click Edit next to Basics & social share. The Meta description field takes static text, and “+ Add Variable” adds dynamic values. By default Wix adds no variables to it, and Wix says an empty field flagged by audit tools “is not an issue” because Google will create a description[25]. Store products default to the product description, with a maximum of 156 characters for a custom one[26].

Squarespace

For a page: open the Pages panel, hover over the page, click the gear icon to open page settings, click the SEO tab and enter the SEO Description, then Save. For blog posts and events, hover over the item and click Edit (on version 7.1, then the gear icon); for products, double-click the product; then use the same SEO tab. The home page description is the SEO site description, in the SEO panel’s Search appearance area under the Home tab[27].

Squarespace says search engines cut descriptions around 160 characters, advises 50 to 300, and enforces a 400-character limit. Without a description, it says search engines use excerpts for blog posts and events, and product descriptions for products[27].

Common mistakes, and how to spot them

What goes wrong after you fill the field
Causes from the vendor documentation cited above; fixes are our advice. Toggle columns.
Usual causeFix
Two description tagsA theme's SEO option and a plugin, or two plugins, each print oneKeep one source. Yoast's help says the HTML should contain exactly one description tag
No description at allA plugin installed but no template set; Yoast's default description template is blankSet a template from the excerpt, then hand-write the top pages
The same text on every pageA template built only from the site taglineUse page-level variables such as the excerpt or category
Out-of-date descriptionShopify stops updating a field once it has been edited by handReview descriptions when you change a product
Nothing shows in GoogleA nosnippet rule, or Google has not recrawled yetCheck the robots meta tag; request indexing and wait

Yoast’s help page on the topic lists the same causes: the tag missing or more than one, a meta robots tag with nosnippet, a page Google has not recrawled, and, most often, Google preferring its own snippet “for that search, for that user”[7]. That last one is not a platform problem at all; our post on why Google ignores your meta description covers it.

After any change, check the live page, not the editor:

Count the description tags on a live page
// Paste into the browser console on the live page
[...document.querySelectorAll('meta[name="description" i]')].map((m) => m.content)
// One entry: good. Zero: nothing is printing a description.
// Two or more: a theme and a plugin (or two plugins) are both printing one.
Myth
Installing Yoast or Rank Math adds meta descriptions to every page.
What is true
It adds a field and templates. Yoast's default description template is blank, so pages stay empty until you fill one or the other.
Myth
If Shopify allows 320 characters, use them.
What is true
320 is the field's ceiling. Google cuts snippets at roughly 150 to 160 characters on desktop.
Myth
An empty meta description field is an error.
What is true
Google writes a snippet from the page. Wix's help says so directly. A good description is better, but blank is not broken.
Before you call it done
0/6

Questions people ask

How do I add a meta description in WordPress without a plugin?

WordPress does not add a meta description by default; its own documentation says meta tags are not included and you can add them manually. You can print one from your theme with the wp_head hook, or on WordPress.com use the SEO Description field in the Jetpack panel, which needs a Premium, Business or Commerce plan. For most sites a free SEO plugin is simpler and safer.

Where is the meta description in Yoast SEO?

In the post editor, open the Yoast SEO sidebar and click Search appearance. The snippet editor shows fields for the SEO title, slug and meta description, with a bar that turns from orange to green as you write. Default templates per content type are under Yoast SEO, Settings, Content types; the default meta description template is blank.

How do I edit the meta description in Shopify?

Open the product, collection, page or blog post in your Shopify admin, find the Search engine listing section, click the pencil icon, and fill in the Meta description field, then Save. The home page description is under Online Store, Preferences. If you leave a product's field blank, Shopify generates one from the product description.

How long can a Shopify meta description be?

Shopify's help pages say text over 320 characters might be cut off for products, collections and blog posts, and give 160 characters for pages and in its general SEO guide. Google itself cuts snippets by width, at roughly 150 to 160 characters on desktop, so aim for 120 to 155 whatever the field allows.

Can I set meta descriptions in bulk?

Yes, on most platforms. Yoast, Rank Math and AIOSEO have templates per content type built from variables such as the excerpt, and Yoast has a bulk editor with a Description tab. Shopify accepts an SEO description column in a product CSV import. Wix lets you build descriptions from variables per page type in SEO Settings.

Why does my site have two meta descriptions?

Usually a theme and an SEO plugin, or two SEO plugins, both print one. Yoast's help says the HTML should contain exactly one description meta tag, and that with none or more than one you may not see your preferred description. Turn off the theme's SEO option or remove one plugin, then check the source again.

Keep reading

Sources

[1]Search Engine Optimization — WordPress.org Documentation, updated 12 May 2026
[2]wp_head hook — WordPress Developer Resources, read 11 October 2026
[3]Use additional SEO tools — WordPress.com Support, last reviewed 5 October 2026
[4]How to create a good meta description — Yoast (Edwin Toonen), 23 June 2025
[5]How to change SEO title and meta description templates in Yoast SEO — Yoast Help Center, no date shown; page metadata 21 April 2026
[6]List of available snippet variables in Yoast SEO — Yoast Help Center, no date shown; page metadata 13 May 2026
[7]Google shows the wrong meta description for my site — Yoast Help Center, no date shown; page metadata 24 February 2026
[8]How to Enter SEO Meta Title, Description, and Focus Keyword — Rank Math Knowledge Base, no date shown; page metadata 12 May 2025
[9]Using Variables in the SEO Title and Description — Rank Math Knowledge Base, no date shown; page metadata 2 January 2026
[10]Rank Math 'Titles and Meta' Options and Settings — Rank Math Knowledge Base, no date shown; page metadata 30 December 2025
[11]How to Set Product Meta Description — Rank Math Knowledge Base, no date shown; page metadata 27 September 2023
[12]What is the Ideal Meta Description Length? — Rank Math Knowledge Base, no date shown; page metadata 16 March 2023
[13]Setting the SEO Title and Description for Your Content — All in One SEO docs, updated 6 October 2026
[14]Setting the SEO Title and Description Format for Posts — All in One SEO docs, updated 14 August 2026
[15]Setting the SEO for Your Home Page — All in One SEO docs, updated 14 August 2026
[16]How to Write Meta Descriptions for SEO — All in One SEO blog, updated 27 March 2023
[17]Adding and updating products — Shopify Help Center, no date shown; read 11 October 2026
[18]Managing collection settings — Shopify Help Center, no date shown; read 11 October 2026
[19]Creating and editing pages — Shopify Help Center, no date shown; read 11 October 2026
[20]Adding and managing blog posts — Shopify Help Center, no date shown; read 11 October 2026
[21]Setting your online store preferences — Shopify Help Center, no date shown; read 11 October 2026
[22]Using CSV files to import and export products — Shopify Help Center, no date shown; read 11 October 2026
[23]Exporting products — Shopify Help Center, no date shown; read 11 October 2026
[24]Adding SEO Title Tags and Meta Descriptions to Your Pages — Wix Help Center, no date shown; page metadata 14 September 2026
[25]Customizing Your SEO Settings — Wix Help Center, no date shown; page metadata 29 April 2026
[26]Wix Stores: SEO for Product Pages — Wix Help Center, no date shown; page metadata 26 March 2026
[27]Adding SEO descriptions — Squarespace Help Center, updated 10 September 2026
[28]Control your snippets in search results — Google Search Central, updated 20 April 2026

Find out where you actually stand

One real question, real AI engines, and the answer they gave — including who was named in it. No account, no card.