ACF Gallery Field as a Responsive Grid
Adds an [acf_gallery name="gallery"] shortcode that shows an ACF gallery field as a lazy-loaded, responsive image grid linking to the full-size files.
Snippet Library
Snippets for custom post types, taxonomies and custom fields: register a post type, add meta boxes, show fields in lists and archives. For developers modeling content beyond posts and pages.
Adds an [acf_gallery name="gallery"] shortcode that shows an ACF gallery field as a lazy-loaded, responsive image grid linking to the full-size files.
Gives Advanced Custom Fields' Google Map field your API key from a constant in wp-config.php, so the key never sits in the database or theme files.
Adds an [acf_image name="hero" size="large"] shortcode that outputs a responsive image from an ACF image field, whatever return format the field uses.
Adds an [acf_button name="cta"] shortcode that renders an ACF link field as a theme-styled button, respecting the "open in new tab" choice.
Registers a "Site Settings" options page with Header and Footer sub-pages in the admin, ready for ACF field groups that hold site-wide values.
Adds a body class such as "acf-hide-title" when a true/false field is switched on for the current page, so you can change the layout with CSS alone.
Shows WordPress's own Custom Fields meta box again, which Advanced Custom Fields hides by default to speed up the editor.
Sets a post's title and slug from ACF fields when it is saved, for example a team member's first and last name, so editors never type it twice.
Pre-fills an empty ACF date picker with today's date on new posts, saving a click for fields like "published on" or "received".
Shows each flexible content row's heading next to its layout name in the editor, so long pages built from sections are easy to scan.
Adds a [field_value name="..."] shortcode that prints an ACF field of the current post and handles images, links, choices, dates and post objects sensibly.
Adds an [acf_map name="location"] shortcode that shows a lazy-loaded embedded map and a directions link for the place saved in an ACF Google Map field.
Adds an "acf_fields" property with the ACF fields you list to the REST API responses of chosen post types, for headless front ends and apps.
Styles collapsible FAQ items (from the FAQ list and ACF FAQ shortcodes, or any Details block) with dividers, a plus/minus marker and a visible keyboard focus ring.
Adds an [acf_faq] shortcode that shows a question-and-answer repeater as accessible collapsible items and outputs matching FAQPage structured data.
Uses a site-wide default from your ACF options page whenever a post's own field is empty, such as a standard call-to-action text or banner.
Loads the choices of an ACF select field from the titles of a post type, such as locations or team members, and refreshes them when those posts change.
Copies an ACF summary field into the post excerpt on save when the excerpt is empty, so themes, feeds and search results show your summary.
Adds a dropdown above a post type's admin list to show only posts with a chosen value of an ACF select, radio or button group field.
Adds an [acf_submit_form] shortcode that lets logged-in users submit a new post (saved as pending review) using your ACF field groups.
Hides the ACF fields you choose in the editor for everyone except administrators, such as internal notes or technical settings.
Removes the Advanced Custom Fields menu on the live site so field groups can only be edited on development or staging, where changes are synced through JSON.
Adds an [acf_posts field="featured" value="1"] shortcode that lists posts whose ACF field matches a value, such as featured items or posts for a region.
Blocks saving when an end date field is earlier than its start date field, such as for events, offers or bookings.