Skip to content
wpgraft
ChatGPTChatGPTA page ChatGPT generated
BricksBricksNative elements plus global classes

How to move a page from ChatGPT to Bricks

Move a page from ChatGPT to Bricks as real, editable Bricks elements, not a screenshot. What comes across, and what does not.

wpgraft reads the page as your browser rendered it, the real elements and the real computed styles, at every breakpoint you ask for, and rebuilds it as Bricks’s own native elements with the styles in Bricks’s own fields. It does not care that a language model wrote the HTML, and it does not care what framework the page was built with: by the time wpgraft looks, all of that has already become computed styles.

The awkward part of building a page with ChatGPT was never the generating. It is that what comes out is HTML, and what you need is something you can edit in Bricks next month without opening a code editor. This closes that gap: the generated page is rebuilt as real Bricks elements, so the next change is a click in a panel rather than a prompt and a re-paste.

Before you start

What to have ready

Phase 1 · Set up
  1. 01

    Install the wpgraft extension in Chrome

    wpgraft is a Chrome extension. Get it from wpgraft.com/releases. Install it, click the icon, sign in: the free tier needs an account but is never billed. On your very first copy it asks you to confirm you have the right to reuse what you are copying, once, and does not ask again.

    Get the Chrome extensionwpgraft.com/releases → Get the Extension
  2. 02

    Install the wpgraft plugin on the Bricks site

    The plugin is the WordPress half of wpgraft: it receives the copy, shows it in a panel inside the Bricks editor, inserts it, and pulls the images into your Media Library. Download the zip from wpgraft.com/releases, then upload it in wp-admin. It is free software with no licence key and nothing to configure. Its only admin screen, Settings → wpgraft, is a status page that tells you which builder it detected. It updates itself from inside wp-admin like any other plugin: a version check against wpgraft.com that carries no token and no licence key, only your WordPress and PHP versions and your site's own address in the request's User-Agent, as the privacy policy sets out. It touches nothing on your site until you send it something.

    Download the plugin (.zip)Plugins → Add New → Upload Plugin → Activate
Phase 2 · Copy, in ChatGPT
  1. 03

    Open the ChatGPT page you want

    A preview inside the chat renders in a sandboxed frame, and wpgraft copies the tab’s own page. Get the HTML onto its own URL: a share link, a preview opened in a new tab, or the file saved and opened locally.

    Open the generated page as its own page first
  2. 04

    Choose Bricks in the extension

    Click the wpgraft icon on the source tab and pick your destination under Copy into. There is one Bricks entry, labelled Bricks. Switch Also copy tablet & phone on unless you only want the desktop layout: it is off until you turn it on, and it captures three viewports instead of one, so the copy arrives responsive.

  3. 05

    Point at what you want and copy it

    Select element starts a picker: hover to highlight, press ↑ to widen the selection to the parent and ↓ to narrow it again, click to confirm, Esc to cancel. Whole page takes the entire document in one pass and is a Pro capture. wpgraft scrolls the page for you first so lazy images and scroll-triggered effects have fired, then waits for the fonts and images to finish before it reads anything.

    click copies · ↑ widen · ↓ narrow · Esc cancels
Phase 3 · Insert, in Bricks
  1. 06

    Open the page in Bricks

    From the page list or the front-end admin bar. The builder opens on the page’s own URL with ?bricks=run. The wpgraft panel appears in the bottom-right corner of the editor as soon as it recognises the builder.

    Edit with Bricks
  2. 07

    Send the copy to the site

    The extension does not push copies at sites by itself, because that would mean any approved site could receive a capture made for another one. Click the wpgraft icon again with the editor open: it names the site and the copy and asks you to confirm, or press Send to open builder. The first time for a given site it also asks whether that site may receive copies at all; approve it once and it stays approved (you can take a site off the list later from the same popup).

    Send to open builder
  3. 08

    Insert it

    The panel lists what is waiting for this builder. Decide whether to tick Import images to Media Library. On, and the images become yours; off, and they keep pointing at the original page. Then press Insert into builder. wpgraft writes straight into the builder’s live store, the flat {id, name, parent, children, settings} array Bricks keeps the page in, merges the copy’s classes into the global class list, regenerates ids so nothing collides with what is already on the page, and re-renders the canvas.

    Insert into builder
  4. 09

    Save it

    Press Bricks’ own Save. Until you do, the copy is only in the open builder session.

Phase 4 · Edit
  1. 10

    Edit it like you built it

    This is where the product earns its keep. Click anything in the copy and Bricks’s own panel opens with real values in it. There is no wrapper you may not touch, no “generated, do not edit” block and no code view. Change the heading, swap the image, drag the padding.

The result

What lands in Bricks

Real Bricks elements

Section, container, block, heading, text, image, button and the rest, each one selectable in the structure panel and editable in Bricks’ own controls.

Global classes, not inline overrides

Repeated styles become entries in Bricks’ global class list. Each is named wpg-<role>-<hash> from a hash of the style itself, so re-copying the same page reuses the same class and two pages that genuinely share a style share one class.

Images in your Media Library

Tick Import images to Media Library in the wpgraft panel and the images are pulled into WordPress and re-pointed before anything is saved.

After the insert: Press Bricks’ own Save. Until you do, the copy is only in the open builder session.

The source side

Copying out of ChatGPT

A preview inside the chat renders in a sandboxed frame, and wpgraft copies the tab’s own page. Get the HTML onto its own URL: a share link, a preview opened in a new tab, or the file saved and opened locally.

  • A preview inside the chat is a frame, and a frame is not the page. Open it as its own tab before you copy.
  • The reliable route is to take the HTML out: copy it from the canvas or the code block, save it as a .html file, open it in Chrome, and switch Allow access to file URLs on for wpgraft at chrome://extensions. Chrome requires that before any extension can read a local file.
  • Ask for one self-contained HTML file with the CSS in a <style> block. That is the shape that copies best, and it is also the shape you can open without a build step.
  • Ask for real content, not lorem ipsum. Whatever the page says is what the copy will say, and rewriting it afterwards in a page builder is slower than asking for it right.
Honest limits

What does not carry over

A guide that only lists what works will waste your afternoon. These are the things that surprise people, set out before you start rather than discovered afterwards.

  • What is on screen is what is copied. A closed accordion is copied closed; an inactive tab is copied inactive; a carousel is copied on whichever slide was showing. Put the page into the state you want before you pick.
  • Behaviour does not travel; appearance does. A slider arrives as its markup and its styling, not as a working slider; a form arrives as a form that has had its submit target deliberately removed, so your copy can never post to ChatGPT’s endpoint. Wire interactive things up with Bricks’s own tools.
  • Anything driven by a query arrives as a design. A post grid copies as the posts that were on the page at that moment, not as a loop that keeps querying.
  • Raw HTML in a copy needs the unfiltered_html capability, which normally means an administrator. Without it, the parts of the copy that would output markup verbatim are removed before the insert, or, where WordPress sanitizes them on save instead, left to it, and the panel tells you how many. Everything else in the copy still lands. Insert as an administrator if you want all of it.
  • Links that pointed at code are disabled. A javascript: link in the source page is neutralised on the way in, for every account including an administrator’s, and you are told how many. It is the one thing wpgraft will not carry across for you.
  • Only the page in the tab is copied; never what is inside a frame. An <iframe> is kept as the embed it is: a YouTube or Vimeo frame becomes a video element, a Google Maps frame becomes a map. wpgraft does not descend into it, same origin or not, which is also why a builder’s own editor canvas and an AI chat’s artifact preview have to be opened on their own URL before you can copy them.
  • The insert lives in the open builder session until you save. Closing the tab without pressing Save loses it; the copy stays in the wpgraft queue, so you can insert it again.
  • Classes are added to the site’s global class list. That is the point, but it does mean a heavily-copied site accumulates wpg-* classes.
Questions

ChatGPT to Bricks: FAQ

Will this flood my Bricks global classes?

Each class is named from a hash of its own styles, so copying the same page twice reuses the same classes rather than adding a second set, and two different pages that share a style share one class. A site you copy into constantly will still accumulate them; they are ordinary global classes, and the Bricks class manager can filter to Unused on this site and Delete selected, so clearing out the ones you dropped is a two-click job.

Does moving from ChatGPT to Bricks change anything on the ChatGPT side?

No. wpgraft reads the generated page and writes to Bricks. Nothing is sent back to ChatGPT and nothing there is altered.

Will the Bricks copy still need ChatGPT installed?

No. What lands in Bricks is Bricks’s own elements with the styles in Bricks’s own fields. There is no shortcode, no embed, no wrapper block and no stylesheet borrowed from ChatGPT. The copy is fully yours and stands on its own.

Is the result editable, or is it a locked block?

Editable. Click anything in it and Bricks’s own settings panel opens with real values in it. That is the whole product, and it is measured on every release: an inserted copy has to be selectable through Bricks’s own API and the editor has to reopen cleanly on the saved page, or the build does not ship.

Does it copy the mobile and tablet layouts too?

Yes, once you switch Also copy tablet & phone on. It is off by default, and with it off you get the desktop layout only, slightly faster. With it on, wpgraft measures the page three times: at your window’s own width, then at 768px, then at 375px. The per-breakpoint values are written into Bricks’s own responsive controls. One honest caveat about the measurement: the Web Store build produces the narrow viewports inside the page rather than by resizing the window. It re-evaluates every media query at the target width, pins the layout width, resolves vw units and clamps position: fixed boxes to it, and the result is measured at 100% of the property values a real 768px and 375px window produces on getbootstrap.com and on a stock WordPress theme. What it cannot do is re-run the source site’s own JavaScript for the new width, so a layout a script computes on resize is copied as the desktop script left it, and the capture says so in a warning.

What does this cost?

The free tier is three copies in total, usable on any destination, at full fidelity, with nothing watermarked or downgraded, within seven days of signing up. Whole-page copies are a Pro capture; sections and elements are not. Pro removes the copy limit and opens up whole-page captures.

Do I need the wpgraft plugin on the Bricks site?

Yes. It is the WordPress half of wpgraft, and it is free software with no licence key, no counter and no upgrade nag in it. It receives the copy, shows it in a panel inside the Bricks editor and imports the images. It does nothing on its own until you send it something.

Is copying a page from ChatGPT legal?

A page you generated yourself is yours to use, subject to the terms of the tool that generated it. Fonts, images and icons that the page pulled in from somewhere else carry their own licences and those follow them into the copy.

Read more

Try a single section first.

Three copies free, every destination unlocked, full fidelity. Point at one ChatGPT section, put it in Bricks, then judge the result before you decide anything.