Move pages built with WPBakery, Impreza or ACF to blocks of Leitvia: an agent reads each page, shows what carries over and what does not, and puts the result into a change package you check before it goes live.
For agencies and developers · Pro Agency or Pro Agency Unlimited · Checked with Leitvia 1.2.69, Leitvia Studio 1.3.65 and Leitvia Pro 0.8.55
How it works
You ask your AI agent, for example: Move the page Our services from WPBakery to blocks and show me what does not carry over. The agent then works through these steps:
- Read. The agent calls
leitvia-pro/read-builder-contentfor the page. It returns the block version, the fields for the content model, a report and the document hash. Nothing is written yet. - Report. The report names what does not carry over (unmapped), what is left out as presentation, moved heading levels, images without alternative text and colors with the nearest token of the theme.
- Your decision. When something is unmapped, the agent shows it to you. Only when you agree to lose it does it send
accept_unmapped. Without that, the write is refused withleitvia_pro_unmapped. - Write. The agent calls
leitvia-pro/migrate-builder-contentwith the document hash and a package key, such asmigrate-services-page. Every page of the same task uses the same key, so they land in one change package. A migration never goes live directly. - Check and apply. Open Leitvia Studio › Inbox, open the package and compare before and after. Choose Apply selected, or Reject to leave the page as it was.


The skill leitvia-pro-migrate ships with Leitvia Pro and teaches the agent these steps. It works page by page, asks before it maps fields of ACF to the content model, and lists images without alternative text so a person can describe them.
Clean up older content
After a move, older posts still carry traces of the old site: images from the old host, colors of the old theme, broken characters such as ???. Leitvia Studio cleans them up the same way, through a change package.
- Ask your agent, for example: Check all posts for images from the old host and broken characters. Fix what you can in one change package with the key cleanup-old-posts and list what needs me.
- The agent runs
leitvia/audit-site. It reports images, videos, audio and iframes of other hosts per block asleitvia/foreign-media, and broken characters asleitvia/lost-characters. - It fixes the findings into the package (see the table below). A word it cannot read for sure, it asks you about.
- Open Leitvia Studio › Inbox, check the steps and apply them.
- The agent runs the audit again until no finding is left.
| Ability | What it does |
|---|---|
leitvia/add-media | Fetches an image of another host once into the media library. |
leitvia/localize-media | Points every place of a post that loads that file to the copy in the library, classic content included. |
leitvia/set-alt-text | Describes every image with one address in a post, also images without an attachment ID. |
leitvia/fix-presets | Removes colors and sizes of the old theme. |
leitvia/fix-button-colors, leitvia/fix-cover-colors | Give buttons and covers the roles of the token set again. |
leitvia/update-block | Inserts, moves and replaces blocks in older content, changes one link of a text by its words and keeps a term on one line. |
leitvia/update-content | Writes a broken word again and moves classic content to blocks. |
The skill leitvia-migrate of Leitvia Skills describes the whole move of a site, these steps included.
Undo
Reject the package to leave the page as it is. After applying, open the package in the Inbox and choose Roll back.
Limits
- Only content travels. Layout settings of the builder (spacing, animations, colors outside the tokens) are dropped and listed.
- A page without WPBakery or Impreza shortcodes, ACF blocks or ACF fields is refused. Classic content moves with
leitvia/update-content. - Both abilities need an active license of Pro Agency or Pro Agency Unlimited. Content they wrote stays without one.
Read next: Install Leitvia Pro, Leitvia for agencies and Developer guide.