ACF shortcode

Use ACF shortcode to display simple ACF input that does not need much customization.

Use shortcode [ acf-field field=”my_field” html=”h1″ ], paste shortcode in pattern and it will display my_field acf field as a h1.

Customization can be made in templates/partials/acf-field.php

Add new parameters and customize output, use case is small logic that just print output. If you want a bigger function with compares and other logic make a function specific file.