GridVids
Sign in with YouTube

ChatGPT WordPress Website: Teach It to Write Block Editor Layouts

Mark watched
Don't Miss
Hide
Open in popup Open on YouTube

WPCrafter.com WordPress For Non-Techies 3 years ago
Chapters

Get ChatGPT to build your WordPress website layout, words included, ready to paste into the block editor. I teach ChatGPT the block editor's code with one sample section, then have it build a hero, a services section and a pricing table.

AI works off patterns, so the first step is giving it one. We build a simple sample section from core blocks: a group, two columns, a heading, paragraph text, buttons and an image, then copy its code from the code editor.

Next is the prompt. ChatGPT acts as a block editor code writer and copywriter for a mobile dog grooming business, and you ask for one section at a time, because it has an output limit.

Then we ask for a hero section, a services section with four services, and a pricing section with three plans. You'll see how to paste the result, when to click Attempt Block Recovery, and how I fixed the pricing section after ChatGPT ran out of characters.

Finally, if you use a block plugin, you can transform the group, columns, headings and images into its blocks. I convert them to Spectra containers and blocks.

As with anything ChatGPT, results vary, and you'll see it doesn't always format the code the same way. This is for WordPress users who want a fast first draft of a layout and its copy.

Spectra https://www.wpcrafter.com/spectra

MY PRODUCTS SureCart (ecommerce for WordPress) https://www.wpcrafter.com/surecart SureMembers (memberships) https://www.wpcrafter.com/suremembers SureDash (communities and courses) https://suredash.com/ OttoKit (automation) https://www.wpcrafter.com/suretriggers Presto Player (video) https://www.wpcrafter.com/prestoplayer ZipWP (AI website builder) https://www.wpcrafter.com/zip

RECOMMENDED HOSTING ZipWP Managed Hosting https://zipwp.com/managed-hosting/ Hostinger https://www.wpcrafter.com/hostinger Cloudways https://www.wpcrafter.com/cloudways

CHAPTERS

Which section prompts worked best for you? Subscribe for more WordPress tutorials. All of the opinions expressed in this video are my own, I was not paid to make this video. Whenever there is a link in any of my videos, if there is a referral program available, please assume that you are clicking on a referral link.