I Didn’t Expect This When I Taught ChatGPT How To Make a WordPress Website!

In this video, I take on the ultimate challenge of teaching ChatGPT, an AI language model, how to make a WordPress website from scratch. Follow along as I guide ChatGPT through the process of building a website using WordPress, step by step.

Watch as ChatGPT goes from being completely clueless about WordPress to creating a fully functional website in minutes. This is a must-watch for anyone interested in the power of AI and the future of web development.

So, if you’re ready to learn how to make a WordPress website and witness the impressive capabilities of ChatGPT, this is the video for you.

Join “The Loop” Newsletter to be notified when the complete list of commands is ready for download.
Signup https://adampreiser.com/loop/

Also, SureWriter is coming, you can sign up for that at:

Table Of Contents
00:00 – ChatGPT Meets WordPress
01:12 – Create The Pattern
03:48 – Create The Prompt
13:11 – Converting Blocks

🟡 SureCart — https://www.wpcrafter.com/surecart (SAVE 50% Auto Applied)
🟡 SureMembers — https://www.wpcrafter.com/suremembers (SAVE 50% Auto Applied)
🟡 Presto Player — https://www.wpcrafter.com/prestoplayer (SAVE 33% Auto Applied)
🟡 Astra Theme — https://www.wpcrafter.com/astra (SAVE 10% Coupon WPCRAFTER)
🟡 CartFlows — https://www.wpcrafter.com/cartflows (SAVE 40% Auto Applied)
🟡 Cloudways — https://www.wpcrafter.com/cloudways (SAVE 20% Coupon WPCRAFTER)
🟡 BuddyBoss — https://www.wpcrafter.com/buddyboss (SAVE 10%)
* Want to offer a discount to WPCrafter subscribers, contact me on my website

🟡 Spectra — https://www.wpcrafter.com/spectra
🟡 Elementor — https://www.wpcrafter.com/elementor
🟡 Beaver Builder — https://www.wpcrafter.com/beaverbuilder
🟡 Divi — https://www.wpcrafter.com/divi (SAVE 20%)

🟡 Full List — https://www.wpcrafter.com/hosting
🟡 Cloudways — https://www.wpcrafter.com/cloudways (SAVE 20% Coupon WPCRAFTER)
🟡 Hostinger — https://www.wpcrafter.com/hostinger (SAVE 75%)
🟡 NameHero — https://www.wpcrafter.com/namehero (SAVE 70%)
🟡 SiteGround — https://www.wpcrafter.com/siteground (SAVE 70%)

☑ Website — https://www.wpcrafter.com
☑ Facebook Group — https://www.facebook.com/groups/wpcrafter
☑ Twitter — https://twitter.com/wpcrafter
☑ Twitter — https://twitter.com/adampreiser

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.

Hopefully you're not tired of chat gbt Videos this is my only my second one by The way this one's gonna be a big one Because I taught chat GPT how to write Code for the Gutenberg editor and what That means is at the end of this video You're going to be able to take chat GPT And have it create complete layouts for You and I'm talking about the structure Of your Website Layout including the Words for it for whatever business You're making a website for if you go Back to my video two weeks ago it was About how to have chat gbt write all of The web page content and I got to Thinking well why can't it just write The code as well just eliminate that Whole step of copying and pasting and Having to build the Website Layout Yourself and have it do the Website Layout and you just copy and paste the Code in and I figured it out now a lot Of testing went into figuring this out I'm gonna reveal it all to you right now All that I ask is that you hit the Thumbs up button right now and if you're Interested in this kind of content click On the Subscribe button let's get Started now it's important to understand That artificial intelligence it works Off of patterns that's it and we need to Feed it the pattern for it to do what we Want it to do so first thing we need to Do is create that pattern the pattern of

Especially formatted code for the WordPress block editor so we're going to Create a sample layout for chat GPT to Go off of now every website is pretty Much a series of sections and those Sections have columns they'll have Headings they'll have paragraph text They'll have buttons and they'll have Images in them so that is all I want to Teach chat GPT how to create so first we Need to create that so that we can teach It to chat T so here I am it's just a Blank page on this website I named it Training and let's go ahead and and Start using some of the core WordPress Blocks so we can teach it how to work With them so the first thing I want to Do is put the group container in like This and then I want to put inside of The group I want to put in two columns So I'll click on columns I'll choose two And then in the First Column I want to Put a heading because I want chat GPT to Know what a heading is and I've got to Put some text in there there it is this Is a heading I'll hit the enter key and I'll put in some paragraph text then I'll hit the enter key and I will put in Some buttons and then I put a simple Label button text and then in the second Column I want to put an image here it is And I'm going to click right here it Says insert from URL you could put the Direct URL to any image that you want I

Thought it would be fun to take the Elementor placeholder image right here So I've got the URL I'm going to paste It in hit enter and there it is so this Is what I want to teach chat GPT on what To create but how do I get this into Chat GPT what we need to do is go into Something called the code editor and It's simple to get into just click the Three dots on the top right and it says Right here code editor will choose that And this displays all of the code that Is used to generate that simple layout That we just saw so what we want to do Is highlight all of this and we're going To put it into our clipboard now for Step two I'm going to show you the Prompt that I used with this code to Give to chat GPT so it would know Exactly what I wanted to create I'll Read the prompt you can tweak it all That you want this is what works for me It says right here act as a WordPress Gutenberg code writer and expert Copywriter because we're going to have It do both things at the same time You will be creating a website for a Mobile dog grooming business named Happy Paws now this part right here you want To describe the business and if it's a Business that GPT should be aware of you Don't have to go into a lot of detail About the business but you can try for See how your results end up being but

Chat GPT is going to know what a mobile Dog grooming business is that's why I Just I just say what the business is and I give the name of the business so it Can be used throughout the website copy That it's going to write for us it says I will instruct you to create one Section of the website at a time and you Will write the code for that that I can Copy and paste into the Gutenberg code Editor you will also write compelling Words for the website so there's this Part here where I say you will create One section of the website at a time the Reason we need to have chat GPT create One section at a time is because it has A character limit so if you wanted to Say give it specific detailed Instructions on the entire web page Layout it's going to exceed that Character limit it's just not going to Work it'll stop somewhere in between Okay and so then I say output should be Formatted like this but inside your code Editor so I can copy and paste it even Though I ask for it to go in the code Editor it doesn't do a good job of doing That and you'll see what I mean in a Moment then right here I will paste the Code in and then it says all your output Must be in your code editor I ask a Second time never listens and then I say If you already say ready so let's go Ahead and paste in that code that will

Be used as the training data let's Highlight and copy all of this and then We're going to put this into chat GPT I'm going to say it's hard to say chat GPT over and over again all right I'm Going to paste it in now if you've used Chat GPT you know your mileage may vary At this point it might be overloaded it Might say error is like a dozen Different things that it might say so I Don't know looks like he's ready pretty Quick I'm ready what would you like the First section of the website to be about Fantastic so I've got this instruction Right here create a hero section with a Title a tagline a call to action button In one column and an image in the second Column so what you're doing is you're Describing the layout and what the Purpose is of this section and chat is Going to take that training we just gave It it's understanding about the business And it's going to give you an output now I have noticed in some of my testing That you might get better results if you Remind chat GPT at this point what it is The information about the business the Type of business and all of that but Let's just go ahead and take this okay I Just pasted it in let's hit enter and See what it gives us now I've got to say Out of every single time I tested this Not once did it give me the output in The block inside of their code editor

Where I can click this button right here And copy and paste it it did this time So when you're doing this it might not And you'll just have to highlight the Code and and copy and paste it so if I Go to a prior chat this is what it was Looking like you just had to copy and Paste it inside of the code editor but But right now it's actually giving it to Me so let's see how this works I'm going To click right here where it says copy Code now what's nice because it's in the Cup the code editor I should be able to Copy and paste this right directly into My Website Layout if not I'll have to go And put it inside of the code editor so I've got a new page I created on the Site here I named it chat GPT created And let's just try pasting that code Directly in because it gave it to us in The code editor and here is what we have Now what I've noticed is when I paste it In sometimes there's an issue with a Heading and you simply need to click Right here where it says attempt to Block recovery and there it is so it Looks like I've got a great first Section if I expand this to go into the List view I have my group I have my Columns my two columns and it's all just Formatted exactly as I instructed it to So now let's ask chat GPT to create our Second section so I'll paste in the Instructions and I'm asking this time I

Say create a section for details about Services including section title and Subtitle and info plus descriptions on Four of our services with one in each Column so again I'm describing the Purpose of the section and I'm Describing the the structure of this Section now the the only thing I want to Do is I want to remind chat GPT of the Business just in case it forgets because It's forgotten for me in the past so I've rephrased it a little bit create a Section for details about Happy Paws Mobile dog grooming services so Hopefully that's a little bit more for It to go off of let's see what we get so Far it's looking good I can tell from Reading the code we've got a heading Called our services underneath it a Description about it and then what I can See is then it creates columns for me Which is exactly what I wanted the Columns have the service description or The service name and then the service Description which is exactly what we Wanted and so we'll let this finish and Then we'll copy and paste it alright so It just finished I like How It Ends it Please let me know if you'd like to make Changes that's what's nice if there was A change you wanted you could just ask And it will spit out the change okay so It did it again in the code editor I Tell you this is the first time so I'm

Gonna click on copy code and let's go Ahead and paste it into our website Editor to see how it did all right uh Here was the first section I'll click Here and I'll just paste it directly in And I gotta say it got it right again so Let me expand it it's in a group we have Our heading we have our subheading and Then we have four columns in each column Has a heading and a description of the Service and it's looking fantastic now Let's throw chat GPT a curveball and ask It to create a pricing section for us And see how it goes this time I'm asking Chat GPT to create a section for happy Pause mobile dog grooming pricing Including a title a subtitle and three Prices one in each column with benefits And an order button in each column so Now we're really going to put chat GPT To of the test and I don't know what to Expect this time but let's just see what It gives us ah you can see this time it Didn't put it in the code editor just Like I'd been saying which is good for This video because then we'll just Manually copy and paste it in okay so it Looks like GPT ran out of output Characters remember there's a character Limit on it so if you're going to ask This you might want to ask it maybe just A little a little bit fewer details to Go into it I asked it for a lot a lot of Structure a lot of pricing plans a lot

Of description so you can see it Outputted all the code which is fine and It kind of got cut off here but that's Okay we'll try to fix it so I'm going to Highlight all of what it gave me and I'm Going to put it into the clipboard and Then on my site I need to go into the Code editor like this and I'm going to Go to the very bottom And I'll click here I'll hit the enter Key and let's go ahead and paste it in So it looks like it stopped outputting The code right around Um the last service when it was listing Out bullet points of the benefits so let Me see if I can fix this okay I think I Fixed it this is going to be unexpected Results let's see exit the code editor Let Me attempt a block recovery like That and I've got a pricing table so Here is my heading for the section Subheading And I've got three packages right here They include details they have bullet Points Talking about what's included and I have In order button wow so you might be Thinking great it's in the WordPress Block editor but I use x y z block Editor package but did you know that Most of them have conversion options so You can convert the container to the Container system of what you use the Headings the paragraph text the buttons

To what you use and it's very easy so Let me show you so I'm going to click on What's called the group block right here And you can see right there there's a Little icon in the toolbar and when you Click on it you can see it says Transform so I can transform it to Container now I have Spectra installed On this site so I can convert this to The Spectra container and now it's going To start working with my full width Layouts and all of that now there's Another way of doing this I can go into The list View and I can expand the Different items I can do the same for Each of these parts so I've clicked on Columns I can click right here oops let Me click on columns click right there Transform into containers so now it's Let's expand this it's fully converted Over to the container system inside of Spectra and I can go inside of the First Column right here I can click on the Heading and let's convert that into Spectros heading so now it's inspector's Heading format I could do the same thing I leave paragraph the way it is and so You can just continue doing this as you Go through you can do the same thing for The image I can click on the image and I'll convert it to Spectra's image which Has some really nice formatting options As with anything chat GPT related your Mileage may vary so you saw what I was

Using it I got the code editor and then I didn't get the code editor so there is Sometimes it's a little on the Inconsistent side but this is a great Way to generate layouts with the copy in It convert it to your block packages of Choice add some background color some Styling to it and what's really nice is It's already going to inherit the Different topography Styles font Styles The button Styles and all of that from Your WordPress theme or whatever you Have set in there it's just creating These layouts adding a little bit of Design to it and you you are good to go Now if you want more AI kind of content Like this I do have a newsletter and I Have a link inside of the video Description you can click on that and Sign up for the newsletter where I send Out information Like this these tricks that you can use In your business to speed up your Workflow using Smart Tools like Ai and Now that I've given you some of my Prompts I want you to give me some of Your prompts when you're trying this and You discover certain things maybe Descriptions of sections that you want That work out really good for you why Not share it in the comments section Down below so that it can help other People as well thank you for watching This video keep an eye on the channel

For more content like this and I'll see You in the next one

You might like