Skip to content
Development

Add short_name to a WordPress PWA manifest

Fix "Web App Manifest lacks a short name entry" by adding short_name to your manifest: a filter for the PWA plugin, a static file option and length tips.

By WP24×7 engineers4 min readPublished June 18, 2021Updated November 29, 2026

At a glance

A web app manifest is a small JSON file that tells browsers how your site looks when installed. If a tool reports that the manifest lacks a short name entry, your manifest has a name but no short_name, the short label under the app icon. Add short_name of about 12 characters or fewer, using the PWA plugin filter, a plugin setting or a static manifest file.

Updated November 29, 2026 · For WordPress developers setting up a PWA manifest

  • For developers fixing the Web App Manifest lacks a short name entry warning
  • Fix add short_name, about 12 characters or fewer, next to name
  • Options a filter for the PWA plugin, a plugin or theme setting, or a static manifest file
  • Check Chrome DevTools, Application, Manifest, Identity section
  • Scope affects installability and appearance only, not rankings
  • Help WordPress development and theme development teams can build a full PWA

A web app manifest is a small JSON file that tells browsers how your site should look when installed on a phone or desktop. If a tool reports "Web App Manifest lacks a short name entry", your manifest has a `name` but no `short_name`, the short label used under the app icon. Add `short_name` of about 12 characters or fewer.

What is the manifest, and what does short_name do?

The manifest, often manifest.json or manifest.webmanifest, lists the name, icons, colours, start URL and display mode of your web app. Two name fields exist:

FieldUsed for
nameThe full name, on install prompts and splash screens
short_nameThe label where space is tight, such as a home screen icon

If short_name is missing, browsers usually fall back to name, which may be truncated on the launcher. The warning is a recommendation to avoid that. This is about installability and appearance only and does not affect rankings.

How do I check what my site outputs?

  1. Open your site in Chrome, then DevTools (F12) and Application, then Manifest.

  2. Read the Identity section: Name, Short name, and any warnings.

  3. Or view the page source, find <link rel="manifest" href="...">, open that URL and read the JSON.

If no manifest is linked, your site is not set up as a PWA, and the warning came from a plugin or test tool. Find out which source produces the manifest before editing.

How do I add it?

The WordPress PWA plugin built its manifest from the site name and exposed a filter so developers could modify the data:

add_filter( 'web_app_manifest', function ( $manifest ) {
	$manifest['short_name'] = 'MySite';
	return $manifest;
} );

Put it in a small plugin or a child theme's functions.php, and replace MySite with your own short label, as plain text with no HTML. Then reload the manifest URL and check that short_name appears. That plugin has been restructured over the years, so a filter that worked in an older version might not exist in yours; check its documentation and changelog.

How should I choose the short name?

  • Keep it to roughly 12 characters. Launchers differ, so test on a real phone.
  • Use your brand, not a description: "Acme" works better than "Acme Customer Portal".
  • Avoid special characters and emoji, which may not render.
  • Make it recognisable next to the icon.

How do I verify the fix?

  1. Reload the page with cache disabled and open Application, Manifest again. "Short name" should show your value.

  2. Re-run the tool that reported the warning. For a Site Health recommendation, reload Tools, Site Health.

  3. Try installing the site from Chrome's install icon and see the label.

  4. If you use Lighthouse, note that recent versions have dropped the dedicated PWA category, so manifest hints now appear in other audits or DevTools.

What other manifest fields should I check?

FieldWhat to confirm
start_urlLoads while offline if you have a service worker
scopeCovers the pages you want in the app window
display, theme_color, background_colorMatch your brand
iconsReal files at the listed paths; 192 and 512 pixel PNGs; a maskable icon helps Android

Chrome DevTools highlights installability problems in the same Manifest panel, so use it as your checklist.

A manifest tells the browser how the installed app should look

A manifest is only half of a PWA, since offline features and push notifications rely on a service worker. If you also use OneSignal for push, read how to run OneSignal and a PWA together and customise its prompt text.

Want an installable site done properly?

Icons, offline pages and testing included.

Our theme developers can also add the manifest to a custom theme.

FAQ

Questions people ask

12 answers. Can't find yours? Ask an engineer.

What is short_name in a web app manifest?

It is the short label shown under an app icon on a phone's home screen or launcher, where the full name would be cut off. The manifest's name field holds the full title.

Link to this answer
How long can short_name be?

There is no hard limit in the specification, but launchers truncate long labels. About 12 characters is a common guideline.

Link to this answer
Will adding it fix Site Health or Lighthouse warnings?

It removes the short name warning from tools that check it. Other manifest recommendations, such as icons and start_url, are separate.

Link to this answer
What happens if short_name is missing?

Browsers usually fall back to name, which may be truncated with an ellipsis on the launcher. The warning is a recommendation to avoid that.

Link to this answer
How do I see what manifest my site outputs?

Open Chrome DevTools, then Application, then Manifest, and read the Identity section. Or view the page source, find the link rel manifest tag, and open that URL.

Link to this answer
Does short_name affect my search rankings?

No. This is about installability and appearance only, such as the label under the app icon on a phone's home screen. It removes a warning from tools that check the manifest, but it does not change rankings.

Link to this answer
The PWA plugin filter does nothing. Why?

That plugin has been restructured over the years and some features moved or were retired, so a filter that worked in an older version might not exist in yours. Check its documentation and changelog, or find out which plugin generates your manifest.

Link to this answer
Can I use a static manifest file?

Yes, if you control the whole manifest. Create manifest.webmanifest in the site root and link it in the head, making sure only one manifest is linked so the browser and any PWA plugin do not clash.

Link to this answer
Which icon sizes are needed?

A 192 and a 512 pixel PNG are the sizes browsers commonly require for installability. The icons must exist at the paths listed in the manifest, and a maskable icon helps Android crop your logo cleanly.

Link to this answer
How should I choose the short name?

Keep it to roughly 12 characters, use your brand not a description, avoid special characters and emoji, and test on a real phone since launchers differ.

Link to this answer
Is a manifest enough for a full PWA?

No. Offline features and push notifications rely on a service worker. If you use OneSignal for push, read how to run OneSignal and a PWA together.

Link to this answer
Can you build an installable site for me?

Yes. Our WordPress development team can build one including icons, offline pages and testing, and our theme developers can add the manifest to a custom theme.

Link to this answer

Keep reading

Want an engineer on it?

Tell us what is wrong in plain words. A person reads it, today.