AI Prompts for WordPress Websites

Seven prompts for WordPress site owners: pages written to fit the block editor, SEO title and description fields, WooCommerce product text, a plugin audit and a careful way to troubleshoot problems.

7 promptsCopy and pasteWorks with any AI assistant

About these prompts

WordPress runs a very large share of small business websites, and the same few jobs come up again and again: writing pages that fit the block editor, filling in the SEO fields of a plugin such as Yoast SEO or Rank Math, describing products in WooCommerce, deciding which plugins to keep, and working out why something broke after an update. AI assistants can help with all of these, as long as you give them real information and keep their suggestions on a short leash. (If you searched for "prompts WordPress IA", IA is the French and Spanish abbreviation for AI, and these prompts work in any language you ask the assistant to write in.)

WordPress adds some risks that plain copywriting does not. An assistant that suggests code can be confidently wrong, and a snippet pasted into the wrong place can take a site offline. Plugin advice can be out of date, because plugins change faster than an assistant's training. So the prompts here follow three rules. Ask for small changes, one at a time. Ask the assistant to explain what each change does and how to undo it. And always work on a backup or staging copy first, never straight on a live business site. Never paste passwords, API keys, database credentials or the contents of your wp-config.php file into any AI chat.

For the writing side, the prompts ask for plain content structured by block: headings, paragraphs, lists and buttons that you can paste into the editor one block at a time. For the technical side, they ask for diagnosis in order of safety. If you are still choosing a platform, our guide to AI website builders compares the trade-offs, and for generating text that fits a template, the SEO title and meta description prompts go deeper on the fields below.

Copy any prompt below, or build a custom one with the Prompt Builder. Highlighted [PLACEHOLDERS] are the parts to replace with your own details.

The prompts

01

A page written for the block editor

For any page you will paste into WordPress.

#
wp-page.txtChatGPT ↗Claude ↗
Write the content for a [PAGE TYPE, e.g. service] page on a WordPress site for [BUSINESS NAME] in [LOCATION].​Facts (use only these): [YOUR REAL DETAILS]Reader and goal: [WHO IS READING AND WHAT THEY SHOULD DO]​Format the answer block by block so I can paste each block into the WordPress block editor, using these labels on their own line: HEADING (H1), PARAGRAPH, HEADING (H2), LIST, BUTTON (with the button text and where it links), IMAGE (describe the photo I should add, with suggested alt text under 125 characters). Use one H1 only and H2 headings for the sections. Do not invent testimonials, numbers or awards. Mark gaps as [NEEDS DETAIL].

TipPasting block by block keeps formatting clean and avoids the stray styles that come from pasting a whole styled document.

02

SEO fields for each page

Title and meta description boxes in an SEO plugin.

#
wp-seo.txtChatGPT ↗Claude ↗
I will give you a list of pages from my WordPress site, with a one-line summary of what each page really contains.​[PAGE NAME | URL | ONE-LINE SUMMARY]​For each page write two options for the SEO title (maximum 58 characters) and one meta description (between 120 and 155 characters). Each must describe what is actually on that page, use the main search phrase naturally once and never repeat another page's wording. Put the character count next to each. Do not promise results or add claims that are not in the summary.

TipAI is poor at counting characters. Check every count in your SEO plugin's preview before you save.

03

WooCommerce product text

Short and long descriptions plus attributes.

#
wp-woo.txtChatGPT ↗Claude ↗
Write the text for a WooCommerce product page.​Product: [NAME]. Facts (use only these): [MATERIALS, SIZES, WEIGHT, WHAT IS INCLUDED, CARE, SHIPPING NOTES].Shopper: [WHO BUYS IT AND WHY].​Give me: (1) Product short description, 25 to 40 words, for the area near the add-to-cart button. (2) Product long description, 100 to 160 words, plain paragraphs and one bullet list. (3) Attribute names and values as a table I can enter in the Attributes tab. (4) Three questions shoppers might ask, answered only from the facts. No health claims, certifications or reviews unless I gave them.

TipFor large catalogs, see the product description prompts and the ecommerce store prompts.

04

A plugin audit

To reduce risk and slow pages.

#
wp-plugins.txtChatGPT ↗Claude ↗
Help me review the plugins on my WordPress site. I will list each plugin with what I use it for.​[PLUGIN NAME | WHAT I USE IT FOR | LAST TIME I CHECKED IT WORKS]​For each plugin say: (1) whether another plugin on the list or my theme may already do the same job, (2) whether the job could be done without a plugin, (3) what I should verify on the plugin's own page before deciding, such as the last update date and compatibility with my WordPress version. You cannot see the live plugin pages, so do not state version numbers, ratings or security history as facts. End with a safe order for removing plugins, including taking a backup first and testing after each removal.

TipThe assistant cannot check a plugin's current status. Treat its output as a checklist of what to look up yourself.

05

Troubleshoot a problem safely

For white screens, broken layouts and errors after updates.

#
wp-troubleshoot.txtChatGPT ↗Claude ↗
Something is wrong with my WordPress site. Help me diagnose it in order of safety, least risky first.​Symptom: [WHAT I SEE, ON WHICH PAGES]What changed just before: [UPDATE, NEW PLUGIN, THEME CHANGE, HOSTING CHANGE, NOTHING]Error text (copied exactly, with any passwords or keys removed): [PASTE]My setup: [THEME, BUILDER SUCH AS ELEMENTOR OR GUTENBERG, HOSTING TYPE]I have a recent backup: [YES / NO]​Give me a numbered list of steps. Start with checks that change nothing, such as the Site Health screen and clearing caches. Mark every step that could change or break something with RISK, and say what to back up first and how to undo it. Do not suggest editing core files. Say which steps I should hand to my host or a developer.

TipIf you answered NO to the backup question, make a backup before you try anything the assistant suggests.

06

A small code snippet, explained

For one specific change, not a whole plugin.

#
wp-snippet.txtChatGPT ↗Claude ↗
I want one small change on my WordPress site: [EXACT BEHAVIOR WANTED, e.g. add a click-to-call phone number to the header on mobile].My theme: [THEME NAME]. I use a child theme: [YES / NO]. I have a code snippets plugin: [YES / NO].​Give me the smallest snippet that does this. Explain each line in plain English, tell me exactly where to put it (a child theme, or a snippets plugin rather than editing the parent theme), what could go wrong, and how to remove it. Use WordPress standard functions where they exist. Tell me how to test it on a staging copy first.

TipNever paste code you do not understand into a live site. If the explanation does not make sense, ask for a simpler version.

07

Refresh an old post or page

Improve existing content instead of adding more.

#
wp-refresh.txtChatGPT ↗Claude ↗
Below is an existing page from my WordPress site and the search phrases that bring visitors to it.​<page>[PASTE THE CURRENT TEXT]</page>Search phrases (from Search Console): [LIST]Facts that have changed since it was written: [LIST]​1. Tell me what a visitor searching these phrases would still want to know that the page does not answer.2. Suggest a clearer title and heading structure.3. List what is out of date and needs my input.4. Draft new sections only where my facts support them, marked NEW.Keep my existing wording wherever it is accurate and clear.

TipUpdating pages that already get impressions often does more than publishing a new post.

Worked example

What a response looks like

The prompt we ran

Prompt 2 with: three pages for a fictional bakery in Spokane; for the Wedding Cakes page the summary was: tasting appointments, three tiers of pricing from 'from $4 per slice', lead time six weeks.

The response

Wedding Cakes
Title option 1: Wedding Cakes in Spokane | Harbor Street Bakery (51)
Title option 2: Custom Wedding Cakes and Tastings, Spokane (49)
Meta description: Custom wedding cakes baked in Spokane. Book a tasting, see our three pricing tiers from $4 per slice, and order at least six weeks ahead. (141)

Note: counts are my estimate; please verify them in your SEO plugin preview.

Sample response, produced by running this prompt in Claude (Anthropic) with the fictional business above. AI responses vary every time you run a prompt; use this to see the kind of result to expect, not as copy to reuse.

Mistakes to avoid

  • Working directly on the live site instead of a staging copy or after a backup.
  • Pasting passwords, keys or wp-config.php contents into an AI chat.
  • Trusting plugin versions, ratings or security claims from the assistant instead of looking them up.
  • Installing a new plugin for every small problem when a short snippet or a setting would do.
  • Letting the assistant write SEO fields without checking the character counts.

Check every fact, number and claim in AI output before you publish. See how to fact-check AI content.

Frequently asked questions

Can AI build a WordPress site for me?

It can draft the content, suggest a page structure and explain settings, but you or a developer still do the building and the testing. Treat AI as a knowledgeable assistant, not as the person with access to your dashboard.

Is it safe to let AI write WordPress code?

Only in small pieces, with an explanation, on a staging copy, and with a backup. Use a child theme or a code snippets plugin so the change is easy to undo, and never paste code you cannot read.

Which WordPress tasks is AI best at?

Writing and improving page text, producing SEO titles and descriptions in batches, drafting product descriptions, planning a content structure and turning a vague problem into a clear support message for your host. It is weaker at anything that depends on the current state of your site.

Do these prompts work in other languages?

Yes. Ask the assistant to write in your language, for example Spanish or French, and have a fluent speaker read the result before publishing. Character limits for titles and descriptions apply to the language you publish in.

Should I use an AI plugin inside WordPress?

That depends on your needs and budget, and many such plugins use paid API credits. The prompts here work with any free chat assistant and keep your site's data out of third-party plugins.

Updated Written by the AI Website Prompts editors