
Advanced Custom Fields snippets: fields in templates, ACF blocks, options pages and dynamic data.

Create ACF field group and assign it to posts. Create field label and name it color and choose field type Color picker. Assign color to each post Create a repeater in Oxygen builder Select first child of Repeater Add class to that element “data-color-bg” Go to advanced > attributes > Add attribute. First field needs…

Oxygen page builder Image element does provide the feature to insert an Image-type custom field’s Alt text using the dynamic data. but if you need overwrite then see 2nd option. Step for show alt tag for image. Ensure that your Image field’s Return Format is set to Image Array in your ACF field group. Step 2 Option 1 Option…

Product cat is category name for WooCommerce products category. Thanks, Hammad Wali for sharing this useful code!

I was banging my head for 2 hours until I got help from Alexander Buzmakov. Function name: get_fieldFunction argument: ACF_fields_slug
3rd party plugins actions admin archive block-themes block editor Blocks block theme build capabilities Category core CPT CSS Custom Post custom post types development filters full site editing gutenberg hook Image img load styles maintenance media mu-plugin Must Have npm Oxygen performance php plugins repeater scripts organizer security single product Taxonomy theme.json Tips updates WooCommerce wordpress wp-cli WP Admin