Docs/Tutorials/Migrate from Kirki / Redux
Migrate from Kirki / Redux
Already have an options framework? Paste your existing Kirki or Redux PHP and Pure Meta converts it into a native panel you can edit, save, and bake.

Open Pure Fields → Option Builder. On the empty state — or via New Panel — you'll see two import buttons: Kirki and Redux. Pick the one matching your source.
-
Paste your framework code
Drop in the PHP. Kirki understands both the static API (
Kirki::add_panel,add_section,add_field) and the OOP form (new \Kirki\Field\Color([...])). Redux understandsRedux::set_args(),set_section()andset_field(). -
Review the parsed preview
Pure Meta parses the code and shows a tree: how many sections and fields it detected, each field's mapped type and ID, and the proposed panel title and option name. Adjust the title / opt-name before committing.
-
Import & save
Confirm to drop the converted sections and fields into a new panel. It opens in the builder as a draft — review, then Save to persist. From there it's a normal Pure Meta panel: edit fields, enable the Customizer, or bake to PHP.
Panels, sections and their fields, with types remapped to the nearest Pure Meta equivalent (see the table below). Section icons from Elusive/FontAwesome are mapped to Dashicons. Choice fields stored as {key: label} objects are normalized to Pure Meta's option format automatically.
Purely structural / non-field entries don't carry over: info, divide, group, tab, import_export, callback, hook and custom_link. Unknown field types fall back to text so nothing is lost silently — re-pick the type after import if needed.
This migrates the field definitions from your source PHP. After importing, set defaults or re-enter values in the panel, then save. To carry live values between Pure Meta sites, use Export / Import instead.
Type mapping reference
| Kirki / Redux source | → Pure Meta type |
|---|---|
text url number slider spinner password | text |
textarea | textarea |
editor raw | editor |
code ace_editor | code |
color color-alpha color_rgba background link_color | colorpicker |
gradient | color_gradient |
select sortable palette | select |
checkbox toggle switch | switch |
radio radio_buttonset button_set | radio_buttonset |
radio-image image_select | radio_image |
image upload media cropped_image | image |
typography | typography |
dimensions spacing border | spacing |
dimension | dimension |
multicheck · multicolor · repeater | same name |
date | datepicker |
post-type | post_select |
section info divide group tab callback hook | skipped (structural) |