Shortcode to output ACF custom fields in Beaver Themer
Do you want to output ACF custom field value manually using a shortcode in a Beaver Builder layout? By default, modules in Beaver Builder allows you to connect to specific custom fields of your choice with simple click routines. However, for an even more custom approach, you can output custom field values manually using easy shortcodes.
Example Shortcode for ACF & Themer
In the following shortcode, resource_url is the custom field name and Url is the custom field type selected in the ACF settings. You can change the field type and custom field name used in your setup and output value accordingly.
<?php //* Do not include this line
[wpbb post:acf type='Url' name='resource_url']
This is very useful when you want to build custom posts loop using the Beaver Builder Posts module. Just switch to the custom layout option and use manual shortcode to output custom field(s) value within the post loop.