Stuart Neal
Director of Operations at Nextgen Marketing
We have worked with Vitalli and his team for well over a year now and will continue to do so in the future.
Having the confidence in an agency that allowed us to scale up and down development resources, as and when needed, has really made a positive difference to our agency.
Home / Blog / WordPress / How to Convert Figma to WordPress: An Agency Workflow
By Vitalii Omelchenko, founder of Codelibry. Last updated: November 2026.
Most guides on how to convert Figma to WordPress end with a plugin and a “publish” button. That works for a landing page. It does not work when an agency has to hand a site to a client, who then has to edit it, rank it and keep it fast for years.
This is the workflow we use at Codelibry for white-label projects. We convert Figma to WordPress as a custom theme, built with ACF flexible content, with AI doing the repetitive part and a 100+ rules to support that.
We use the third route on almost every project, and the rest of this article explains how it works.
Elementor is a good page builder with a lot of bad real-world examples and poorly built websites. On projects with strict tech SEO requirements like DOM depth limits or a page speed target such as 85+ on mobile, builder-based sites are not the best pick. In our experience Elementor sites often start around 60 on mobile, and with effort you get them to 75 by google page speed, when as a developer you know that you could do much better with a custom theme.
Performance is not something you fix with the performance or cache plugin. If the output is bad, no optimisation plugin will fix it. When you control the loading queue, use real images instead of background images where it matters, set fetch priority and serve different image sizes per screen, the score follows and goes into a green zone by google page speed. Most Elementor developers produce DOM-heavy layout, does not follow development best practices and that is why custom themes consistently beat them.
This is not a one-off result. Across all the projects we’ve built since we started as an agency in 2023, every custom theme has been faster than the comparable page-builder site. We launched about 60 projects this year alone.
Our own site, codelibry.com, is a large site with micro-interactions, many pages and a big CSS file. It scores 98 on mobile and 99-100 on desktop.
Custom theme does not mean no plugins. Our rule is simple:
We recommend Elementor to agencies that already work in it, and to clients who know the tool, build pages on the fly without Figma designs or developer involvement, and often come up with their own solutions. For them it works. For everyone else it’s an easier way to mess up a site. If you have Figma designs and care about speed, SEO or a long-lived site, go custom.
Most sites are handed to the owner with a maintenance plan that covers things like PHP upgrades, not a team with a retainer building new features. Less custom code to maintain means a healthier site two years later.
Everything starts in Figma. A good file contains more than page designs. It has a UI kit:
If you want a checklist, see our guide on how to create the UI kit for a website and how to build the brief for Figma to WP projects.
There is one thing people get wrong about AI and Figma MCP: they assume AI will cope with a messy file. It won’t. A developer can usually find their way around a messy file. An MCP connector just pulls the data it finds, the spacing it can find, and often gets it wrong. Good naming, a clear structure, components and variables help AI as much as they help a human developer. There are no shortcuts here.
If the file is really bad, and the agency can’t get a fix from the client (many work with freelancers), our in-house designer fixes it. It is quicker to ask a designer to repair a file than to make a developer fight through it.
For animations, sliders and interactions, we’re adding a written description next to the design. That way the developer builds them as the designer and client meant.
We never start from a blank theme. We use our own boilerplate: a theme structure with the required sections every project needs.
If you want to see how a starter theme can be prepared for AI work, we published the Claude-ready WordPress starter theme for agencies.
We use a paid Figma account, the Figma MCP and an API token, connected to Claude. All Figma variables (colors, type, spacing) are pulled into the local project in one batch and written to the main stylesheet or a separate variables file.
By default, AI and any Figma connector will produce some code. It will not be code your team can maintain. We needed HTML and CSS written in our naming conventions, with our approaches to responsive layouts, with every ACF field type handled the same way, and with every result checked.
So we built an internal tool called Codelibry Chef. It holds more than 100 rules (we call them recipes) that the AI follows strictly when it turns a Figma design into theme code. Since spring 2026 we have used it on 17 websites.
What it changed:
It did not start at 100. When we began this approach in spring 2026, we added rules constantly: how to handle responsive behaviour, how to treat each ACF field, how to check results. For a plain HTML page the flow is straightforward. With a custom WordPress theme the AI invents something new every time, and it gets many things wrong.
The one practical piece of advice we can give: extend the AI’s memory. Keep log files of what you’ve done, record every fix as a rule, and feed it back. Your system gets better with each project.
Recently we got a Figma file with the desktop and mobile versions designed as two separate sets of frames that didn’t match each other one-to-one. The AI struggled to build a layout where desktop and mobile were truly the same. It works much better when Figma has desktop-only designs, because our rules convert them to responsive on the fly. This is exactly the kind of case that sends us back to add a new rule, and it’s why we tell agencies: agree the responsive approach before design starts, not after.
Before the header and footer, we build the UI kit in code: buttons, typography, grid, forms, dropdowns, cards. Then the header and footer, the two parts that repeat everywhere, and the default page template. Only then do we start the homepage.
Every section is a flexible content layout in ACF. The main skill is deciding where each piece of content lives. Our rules:
Sites change while they’re built. A design starts with five pages, then grows to six, and a repeater appears twice. That is when we convert it to a global component. If another section later needs a second set of data about the same person, that is the moment for a custom post type.
Other rules we apply to every layout:
In 2026 and 2027 we think QA agents and QA skills should be the cornerstone of every agency build.
We taught the AI to run a Pixel Perfect overlay over every page automatically. By the time a page is finished, it already matches the Figma design, and QA runs before a human gets involved. On simpler projects that leaves a couple of minor points. On larger, more complex layouts it shortens the QA phase significantly.
We also give away the base of this workflow. The free Codelibry QA skill covers the basic QA scenario for every project. Download it from GitHub, test it and adapt it to your own process.
Everything is built locally, pushed to staging and checked there. Before launch we run a 50-point pre-live checklist. It catches the small things that should never reach production but matter a lot to agencies and their clients: forms sending data, analytics installed, favicon present, high-resolution logo.
A developer rarely cares about a missing favicon. An agency’s client notices it immediately.
A few examples from the list:
etc.
A site is only valuable if the content manager can run it. When a project ends, we record personalised videos showing how to log in, add and edit pages, add any post type, add users, and how our ACF flexible setup works.
Most projects also come with 12 months of post-launch support through a maintenance plan, including unlimited text consultations on how to add or edit things. That is how we make sure clients really use the admin panel we built.
A WooCommerce site is a Figma-to-WordPress project with one big difference: the default templates rarely survive. On our WooCommerce projects the product page, and usually parts of the cart and checkout, get overridden to match the Figma design. We do it either at template level, or with functions and hooks that change the default markup. The result is the same: the store looks like the design, not like a stock theme.
ACF still plays a part. We use ACF fields to show extra data on product pages, so content managers can add the content that doesn’t fit WooCommerce’s standard fields.
This is where a custom theme pulls furthest ahead. Brands often want product pages that don’t look like product pages at all, more like landing pages. A builder or a stock theme fights you on that. A custom theme just builds it.
Our WooCommerce development service page covers the scope in more detail.
Every agency sells something different, and the real job in white-label work is to learn their patterns and blend into them. Some agencies have conversion rules built into their workflow (a button above the fold in the hero, partner logos that must link to the partner’s site). Others use the same premium plugin on every client site, for example one that pulls Google reviews daily. We build those into the way we work so they repeat across projects.
If you are an agency looking for a team that can do this, see our custom WordPress theme development service.