Review required
(01)Generated code should be reviewed before shipping. The detector emits a best-guess schema, not a final design.
The HTML Generator turns a static mock-up into a field group and a working PHP template in roughly 90 seconds.
Paste your static HTML mock-up into the generator.
Set the field group settings: post type, template, options page.
Click Analyse HTML. The detector walks the DOM.
Review detected fields and generated PHP. Adjust if needed.
Create Field Group + drop the PHP template into your theme.
The detector walks every node and emits a best-guess schema. Across normal mock-ups it captures the structure cleanly.
<svg> / icon <i> → raw_html<img> → imageDetected fields and generated PHP appear side-by-side in the admin. Rename fields, change types, drop fields you don't need, then save the group and copy the PHP into your theme. The generator emits one of two output modes: Hide empty or Inline fallback.
Detected fields
Generated PHP
<section class="hero">
<h1><?php dfk_the_field( 'hero_title' ); ?></h1>
<p><?php dfk_the_field( 'hero_subtitle' ); ?></p>
</section>
<?php while ( dfk_have_rows( 'features' ) ) : dfk_the_row(); ?>
<span class="icon"><?php dfk_the_sub_field_html( 'icon' ); ?></span>
<?php endwhile; ?>Generated code should be reviewed before shipping. The detector emits a best-guess schema, not a final design.
Card grids with two different visual layouts may not collapse into a single repeater. You may need to split them by hand.
The generator emits the template. CSS and JS for the mock-up still need theme-side wp_enqueue_* wiring.
Cancel any time. Installed Pro keeps working.