Skip to main content

All 53 field types

Pressundo 1.0 registers 53 field types. Every normal field uses the same schema model, centralized sanitization/validation, conditional logic hooks and shared renderer.

  • Text — pu_text() — Single-line text input.
  • Textarea — pu_textarea() — Multi-line plain text input.
  • Number — pu_number() — Numeric input with min/max/step validation.
  • Email — pu_email() — Email input validated as an email address.
  • Url — pu_url() — HTTP/HTTPS URL input. Unsafe schemes are rejected.
  • Password — pu_password() — Masked text input for configuration secrets.
  • Hidden — pu_hidden() — Hidden field for internal schema data.
  • Date — pu_date() — Calendar date input with real-date validation.
  • Time — pu_time() — 24-hour time input.
  • Datetime — pu_datetime() — Combined local date and time control.
  • Range — pu_range() — Slider/range input with min/max/step.
  • Color — pu_color() — Color picker stored as canonical uppercase HEX.
  • Checkbox — pu_checkbox() — Single boolean checkbox.
  • Toggle — pu_toggle() — Modern boolean switch.
  • Select — pu_select() — Single select. Enable searchable for large lists.
  • Multi Select — pu_multiselect() — Multiple selected values with allowed-option validation.
  • Radio — pu_radio() — Single choice rendered as radio controls.
  • Checkbox Group — pu_checkbox_group() — Multiple choices rendered as checkbox cards/controls.
  • Button Group — pu_button_group() — Compact segmented single-choice control.
  • Image Radio — pu_field() — Single image-based choice.
  • Image Checkbox Group — pu_field() — Multiple image-based choices.
  • Sortable Select — pu_sortable() — Ordered list with drag-and-drop plus keyboard-accessible move actions.
  • Media — pu_media() — WordPress media selector with lazy preview.
  • Gallery — pu_gallery() — WordPress gallery selector with deduplication and lazy thumbnails.
  • Editor — pu_editor() — WordPress rich-text editor field.
  • Code — pu_code() — Code-like textarea. Stored as normalized text and never executed by sanitization.
  • Json — pu_json() — JSON editor with JSON validity checking.
  • Css — pu_css() — CSS source editor stored as inert text.
  • Javascript — pu_javascript() — JavaScript source editor stored as inert text.
  • Icon — pu_icon() — Icon identifier selector compatible with the framework icon datasource.
  • Font Family — pu_font_family() — Searchable font-family selector.
  • Font Weight — pu_font_weight() — Font-weight selector.
  • Unit — pu_unit() — CSS unit selector.
  • Typography — pu_typography() — Composite typography control: family, weight, size, line-height, tracking, transform, decoration and color.
  • Spacing — pu_spacing() — Top/right/bottom/left spacing with units and linked-value UX.
  • Dimensions — pu_dimensions() — Width/height/min/max dimensions with unit.
  • Background — pu_background() — Composite background: color, image, position, size, repeat, attachment or gradient.
  • Gradient — pu_gradient() — Linear/radial two-stop gradient with angle and stop positions.
  • Border — pu_border() — Border width/style/color/unit.
  • Border Radius — pu_border_radius() — Four corner radii with link/unlink UX and unit.
  • Box Shadow — pu_box_shadow() — Box-shadow x/y/blur/spread/color/unit/inset.
  • Responsive — pu_responsive() — Desktop/tablet/mobile values with a unit.
  • Post Select — pu_post_select() — Search/select posts, pages or custom post types.
  • Term Select — pu_term_select() — Select taxonomy terms.
  • User Select — pu_user_select() — Select WordPress users.
  • Menu Select — pu_menu_select() — Select a registered WordPress nav menu.
  • Sidebar Select — pu_sidebar_select() — Select a registered sidebar/widget area.
  • Template Select — pu_template_select() — Select an available template/layout value.
  • Key Value — pu_key_value() — Editable key/value mapping rows.
  • Html — pu_field() — Filtered HTML presentation field.
  • Notice — pu_field() — Admin notice/information block.
  • Heading — pu_heading() — Visual heading inside a section.
  • Divider — pu_divider() — Visual divider between field groups.

Structural helpers​

pu_group(), pu_repeater() and pu_section() are structural schema helpers documented separately.