Practical examples

Implementation
examples

Practical references for using atshift Fields field groups with WordPress features and site-specific workflows.

Expand what
input fields can do

Use atshift Fields input fields beyond the WordPress admin screen, including purpose-built front-end forms for signed-in users and other site-specific workflows.

FORM 01 Create new posts with a front-end form

Render a field group as a front-end form for signed-in users and create a new draft in a specified post type.

FORM 02 Edit existing posts with a front-end form

Use post_id to identify the target post, then check the post type and edit capability before updating CFS fields.

SCHEDULE 03 Switch content by date and time

Use Date and Time fields to show upcoming, active, and ended states in a WordPress template.