Help Center
Building a WordPress Website With ChatGPT
bulat
Alexander Bulat
WordPress Copywriter
Show all articles
Updated on
Useful Resources

Building a WordPress Website With ChatGPT

AI has revolutionized website development, enhancing speed and efficiency. ChatGPT stands out as a robust tool for brainstorming, content creation, code generation, and error resolution. If you’re wondering how to use ChatGPT to create a website, it can guide you through various stages, from planning to execution. Regardless of your experience level, ChatGPT can simplify many aspects of the website development process.

Table of Contents

In this article, we will discuss how to make a website with AI. We will also have a look at how other AI tools, such as Crocoblock AI Website Structure Builder, can improve the workflow.

Plan Your Website Structure with ChatGPT

Before you start to build a website with AI, it’s essential to define its goal. ChatGPT can help you brainstorm ideas, refine concepts, and ensure clarity in your objectives. You can also play around with prompts to generate ideas tailored to your website’s niche. If you’re not very creative and writing prompts, you can ask ChatGPT to help you with that.

For instance, if I ask ChatGPT to outline a list of essential pages for a home-based bakery website, I might receive a basic list of pages, including:

  • Home;
  • About Us;
  • Menu;
  • Custom Orders;
  • Gallery;
  • Reviews, and so on.
list of essential pages for a bakery website

With the provided set of pages, I can ask it to outline the content structure for these pages. ChatGPT can assist in creating a logical hierarchy for my set of pages.

content structure per page

This is very helpful if you want to avoid spending too much time researching this matter and browsing through numerous bakery websites.

What’s even more impressive is that you can request that it build this structure while considering efficiency from both the UX and marketing perspectives. Based on that, one might receive a more sophisticated reply with a lot of detail in the output.

optimized content structure

Sometimes, writing prompts can lead to the discovery of a solution to a person’s problem; as someone humorously remarked, “Gen Z invented thinking while writing ChatGPT prompts.”

Generate Website Content with ChatGPT

I’ve been using ChatGPT for a while, and I can confirm that it’s very helpful in optimizing the writing process. This is especially true when you encounter writer’s block or aren’t in the mood to create any content. By following my prompts, ChatGPT can generate coherent drafts that serve as a solid foundation for a blog post.

For instance, a bakery website may use a prompt such as “Write a 500-word blog post about the health benefits of sourdough bread.” ChatGPT provided the following text outlining the nutritional benefits of sourdough.

article example generated by chatgpt

If you don’t want to play around with prompts, you can further automate content creation by integrating ChatGPT with Make.com.

The bakery website may suffice for a scenario that will include three apps.

make.com scenario
  • Google Sheets app will use your spreadsheet with keywords that you want to cover in articles.
  • OpenAI app will write an article based on your detailed prompt, but you’ll need an API key to be able to use it (OpenAI o3-mini will cost about $4.40 per 1M tokens).
  • WordPress app with a Make Connector installed on your website will publish a draft.

If I had a live bakery website, I could easily publish several articles each day without lifting a finger.

NOTE

However, there’s a downside to this: if you rely heavily on AI-generated content, Google may find it questionable as it may violate the EEAT concept. In 2022, EAT was revised to include an additional E, which stands for “Experience.” This indicates that the content should be created by someone with direct experience in the subject matter. And I doubt that ChatGPT has ever baked sourdough bread, which means the generated content should be used as a draft for your final piece needing significant editing.

Generate website microcopy

Someday, I worked as a freelance UX writer, and I know how tiresome it can be to produce a microcopy that is both informative and engaging to the user. In the process of writing, we had to cater to the interests of our audience by creating copy for the so-called personas.

bakery website personas

ChatGPT is very helpful for creating the microcopy, such as UI texts, button labels, error messages, and onboarding instructions. One key advantage is its ability to produce user-friendly text, reducing the time spent manually writing and polishing the copy.

It is also helpful for drafting legal documents such as a Privacy Policy, ToS, Cookie Policy, and Disclaimer. While the AI can produce a well-structured, industry-standard draft, the text should always be reviewed by a legal professional to ensure compliance with local laws like GDPR, CCPA, and so on.

privacy policy content

📚 Read also: Top 13 WordPress Content AI Plugins (2025)

ChatGPT for Website Development

Using ChatGPT for website development can be incredibly useful, especially for handling repetitive tasks, generating structured content, and even assisting with code. Since we’re talking about a bakery website here, ChatGPT can help me define which:

  • Custom Post Types (CPT) I may need;
  • Taxonomies (like, Bread, Cakes, Pastries) or Tags (like Gluten-Free, Vegan, Seasonal) to create;
  • Meta Fields to add to my products (like Ingredients, Price, Availability, Best Before Date, and so on).

Now, let’s see if ChatGPT can be used as a PHP or HTML code generator. I’ll ask it to write a snippet to add CPT Bakery Products.

cpt code snippet

After adding it to the functions.php file and saving it in my WordPress Dashboard, there appears a new section called Bakery Products with a “carrot” icon.

adding cpt manually

NOTE

Please note that if you manually edit your theme file functions.php, you must create a child theme and update the functions.php file there. Otherwise, your theme files will be overwritten during the next update, causing your changes to disappear.

Adding a CPT manually was fun, but when we have JetEngine installed, we can create a CPT much faster and with more flexibility.

jetengine create cpt

Writing code with GPT has a major downside. While it can assist with setting up some basic functionality on the WordPress website, it won’t generate complex solutions independently, even if you’re highly skilled at crafting detailed prompts.

ChatGPT + Crocoblock Plugins

Crocoblock offers a variety of AI-powered tools that assist with website development. 

AI-powered Query Builder

JetEngine’s Query Builder tool is a game-changer for working with dynamic content in WordPress. What stands out the most is how it simplifies the process of creating complex queries without writing a single line of SQL or PHP.

advanced ai query

With AI Query Builder, you need to write a short prompt, and the plugin will take care of the rest.

AI-generated forms with JetFormBuilder

Another great AI tool by Crocoblock is the AI form generator within the JetFormBuilder plugin. It uses OpenAI to automate form creation.

ai form builder

After you provide a brief prompt, the plugin generates the output, saving you time. You can see it in action in the video review below.

AI Website Structure Builder

This tool significantly streamlines the initial phase of website development. By inputting a concise description of the desired website and its functionalities, the AI swiftly generates a comprehensive data model. The given data model includes Custom Post Types, taxonomies, meta fields, relations, and even basic queries with preconfigured arguments.

ai website structure builder

For instance, when I described a bakery website featuring the ability to present products in a gallery and order bread through single posts in the gallery, I received the following structure: 

  • Post Types:
    • Product with meta fields Price, Ingredients, and Availability;
    • Custom order with meta fields Customer Name, Email, and Order details;
  • RelationsProduct to Custom order;
  • Filters:
    • Price;
    • Availability;
    • Relation.
bakery website structure

If I mark the checkbox next to the “Create Website Model” button, the builder will generate all of these instances in a few seconds. Doing it manually would take 3 to 5 business days.  🤣

The AI Website Structure Builder saves substantial time and can deliver a cohesive, well-organized foundation for any website.

FAQ

Can ChatGPT build a website?

ChatGPT can assist in generating code for WordPress themes, plugins, and basic functionalities, but it will not create a complete site. You will still need a WordPress installation, hosting, and manual setup for design and integrations.

How can ChatGPT assist with WordPress development?

ChatGPT can generate PHP, JavaScript, and CSS code for WordPress, create custom functions for themes and plugins, suggest best practices for performance optimization, and troubleshoot common errors. It’s particularly useful for writing shortcodes, custom post types, and Gutenberg block configurations.

Can ChatGPT help with WordPress SEO and content creation?

Yes! ChatGPT can draft blog posts, product descriptions, and meta tags and even help structure content for better SEO. However, AI-generated content should be edited to align with EEAT principles to ensure quality and credibility.

Conclusion

AI has transformed website development, making it more accessible to all. ChatGPT assists with planning, content creation, and coding, while Crocoblock’s AI-powered tools improve functionality and efficiency.

By integrating AI solutions, you can create a high-quality website with less effort and greater precision. If you’re looking for guidance on how to use ChatGPT to create a website, this AI tool can assist with everything from planning to coding. Whether you’re a beginner or an expert, utilizing AI will enable you to establish a professional online presence faster than ever before.