⚡
Modern API
53 field types, responsive design controls, conditional logic, options pages and metaboxes.
Build modern options pages and metaboxes — or remove Vafpress from existing projects and migrate progressively.
pu_options_page([
'id' => 'theme-settings',
'title' => 'Theme Settings',
'ui_theme' => 'air',
'sections' => [
pu_section('general', [
pu_text('site_title', ['label' => 'Site title']),
pu_color('brand_color', ['label' => 'Brand color']),
pu_toggle('sticky_header', ['label' => 'Sticky header']),
]),
],
]);
53 field types, responsive design controls, conditional logic, options pages and metaboxes.
Remove the abandoned Vafpress runtime and migrate existing themes progressively without losing stored data.
Central sanitization and validation, safe legacy boundaries, concurrent-save protection and inert code storage.
Start with pu_options_page(), pu_metabox() and the complete field library.
Keep VP_Option and VP_Metabox temporarily, preserve existing data, then migrate one field at a time.