SAR Intelligenceby SAR-SOFT

Add a button or phone number to your block theme's header

Change the header template part of a block theme, for example to add a booking button, as a draft with a preview of the whole site.

Difficulty
Intermediate
Time
about 15 min
The prompt

My WordPress site uses a block theme. In the header, add [what, e.g. a 'Book now' button linking to /booking/ and our phone number 210 000 0000] to the right of the menu. Change only that; the logo, the menu and the rest stay as they are. Save it as a draft, send me the preview link and a screenshot on mobile and on desktop, and put it live only after I approve.

Already connected?

If SAR is already in your AI app, this is enough:

Already connected?

Add [button or phone] to my block theme header as a draft and show me the preview.

What happens

  1. The AI app lists the theme's templates and template parts and finds the header.
  2. It reads the header's block markup and changes only what you asked.
  3. It saves the change as a draft with a signed preview link of the whole site; visitors see nothing new.
  4. It takes screenshots of the preview on mobile and desktop.
  5. The header shows on every page, so putting it live is approved in SAR with your password. It can be undone.

Approvals involved

Worked out from the tools this recipe uses.

  • wordpress_list_site_templatesSite Editor templatesNone
  • wordpress_get_site_templateA Site Editor templateNone
  • wordpress_save_site_template_draftSave a Site Editor template draftNone
  • sar_screenshot_pageScreenshot a pageNone
  • wordpress_publish_site_template_draftPublish a Site Editor template draftDepends on the change

What you get

A header with the button or number your visitors need, checked on both screen sizes before anyone saw it.

Try it on your own site

Install the plugin, add SAR to your AI app and paste the prompt. Free to start.

Connect your WordPress site

Type your site's address and we open its own plugin page, ready to install SAR Intelligence.

Prefer to install by hand? Download the plugin · how to connect it

Not on WordPress, or want to set things up first? Create your free account

Free to start · No credit card