Turn Your HTML into an Editable Elementor Page with UiChemy and AI
Paste your HTML and CSS; get the same page as a draft in Elementor, one editable UiChemy section per part.
Prerequisites
A site connected to WPVibe running UiChemy 5.5 or newer (tested on 5.5.2, free) and Elementor (tested on 4.3) on WordPress 6.9 or newer, with an administrator account.
My WordPress site uses UiChemy with Elementor. Turn this HTML into an editable page on my site and save it as a draft; do not publish it. Page title: [title]. [Paste your HTML with its CSS and any JavaScript, or attach the file.]
1. Run discover_abilities with category uichemy-composer. If uichemy-composer/page is not there, stop and tell me to install and activate the free UiChemy plugin (5.5 or newer, on WordPress 6.9 or newer). If a UiChemy call is refused as not allowed, tell me to turn on the MCP server switch in the UiChemy dashboard, and stop. Every uichemy-composer ability except instructions and read-skill takes an action and its action_parameters as input, for example {"action": "get-structure", "action_parameters": {"post_id": 123}}. Before you use an action for the first time, run get_ability_info on its ability and read that action's parameters under meta.actions; do not guess them.
2. Run uichemy-composer/instructions, then uichemy-composer/read-skill with name code-to-wordpress, and follow it wherever this prompt does not say otherwise. Reproduce my page faithfully: keep my text, colours, fonts, spacing and layout, and do not redesign or rewrite anything.
3. Run uichemy-composer/describe-site with action schema. If platform.ready is false, tell me what it says is missing and stop. If platform.builder is not elementor, tell me which builder it reports and stop.
4. This is one page only. Do not create header or footer templates (theme-builder or template), and do not change the design system, the site code, menus, memory, design.md, site settings or SEO site settings (logo, icon, share image): never pass site_before_head or site_before_body. Put any header or footer as the first or last section of this page. Keep my colours and fonts in each section's own CSS rather than writing them into the design system. A font link or a library my code loads goes in page_before_head (a script I load at the end goes in page_before_body), never in site code.
5. Split the page where my code has its parts (header, hero, each content block, footer), one section each. Scope each section's CSS to its own class, keep my tablet and mobile rules, and add them where my CSS has none so the section works on a phone.
6. Images: leave upload_images on (the default). When a section is saved, UiChemy copies every https image in its html and css (img, video and source URLs, and CSS url values) into my media library and points the section at the copy; any it could not fetch are listed under image_failures. A relative path (images/hero.jpg in the html, or url(img/bg.png) in the css) cannot be fetched: list every one, ask me for a public URL of each file (or to upload it with request_upload), add each with upload_media and its alt text, and put the full-size URL upload_media returns in place of the relative path (UiChemy reuses it rather than copying it again).
7. Create the page with uichemy-composer/page, action create-with-sections, status draft, the title and every section (label, html, css, js). If the page is too large for one call, create it with the first section using action create and add the others with action append-section, in order. PAGE_ID is the post_id it returns. UiChemy keeps a section's JavaScript, and head code such as font links, only when my account can save unfiltered HTML (an administrator on a single site can). After the first call, run get-section-code on a section with JavaScript and action get-page-code: if the js is empty, or page_before_head shows my links wrapped in a style tag, tell me what was dropped and stop. If a call reports image_failures, tell me which images failed.
8. For each section run uichemy-composer/page with action get-section-code and compare it with my code: every heading, paragraph, button label, link and image must be there. List anything missing or changed and fix it with action patch-section-code (copy the find text from what get-section-code returned, not from my code).
9. If my code's head has a title or a meta description, use those words for the page's title and description tags in the next check. Run uichemy-composer/page with action get-structure and post_id PAGE_ID and check every section is there, in order. Run uichemy-composer/audit with action run and post_id PAGE_ID. If uichemy-composer/seo was not in discover_abilities, UiChemy's SEO is switched off under Settings, Features: skip the SEO checks and tell me. Otherwise run uichemy-composer/seo with action audit-page-seo and post_id PAGE_ID. If audit-page-seo's ownership.owner is not uichemy, do not add title or description tags: UiChemy strips them from head code when it does not handle SEO, so tell me who handles them (the plugin it names, or UiChemy's own SEO settings). Otherwise fix only what belongs to this page: an image with no alt text (uichemy-composer/seo action set-image-alt with the section and path from the finding), and a title or description (add a title tag of at most 60 characters and a meta description tag to the page with uichemy-composer/page action update-page-code, page_before_head). List the site-wide findings (logo, site icon, menus) for me and change none of them.
10. Give me the elementor_link and the preview_link, list each section by its label and each fix you made in the checks, and remind me the page is a draft. If my code had its own header and footer, tell me they show on this page in addition to my theme's header and footer. Do not publish it.
Skip pasting the full prompt. Drop this into your AI on a site that already has WPVibe:
Run the “Turn Your HTML into an Editable Elementor Page with UiChemy and AI” recipe from the WPVibe cookbook on my connected site.
You have a page as HTML and CSS: from a designer, a template you bought, an AI tool or an old static site. Rebuilding it widget by widget in Elementor takes hours and never quite matches.
The AI reads UiChemy’s code conversion guide, splits your page into its sections and saves each one as a UiChemy widget in Elementor, keeping your text, colours, fonts and layout as written. It then reads every section back, checks that each heading, paragraph, button and link made it across, tells you about anything that did not, and leaves the page as a draft.
It copies your page; it does not redesign it. Ask for changes in the same chat: editing a section’s CSS or JavaScript in Elementor’s own UiChemy panel needs UiChemy Pro. Images given as relative paths need the files, so the AI asks for them and adds them to your media library. Fonts and scripts load on this page only, never site-wide. With no code yet, start from a brief with this recipe; to turn a whole static site into a WordPress theme, use this one.
Outcome
A draft Elementor page that matches your code, each part an editable UiChemy section, with a list of anything that did not carry over.