True / False field
The Advanced Custom Fields (ACF) True / False field is supported in Beaver Themer via a field connection shortcode.
Getting startedβ
To get started, create your True / False field in ACF and use the shortcode to display the True / False field on your pages or posts. You can use the shortcode inside any module that supports HTML such as a HTML or Text modules.
The True / False field connection shortcode supports the Stylized UI and will output the On Text (True) and Off Text (False) content.
If you donβt enable Stylized UI the True / False field connection will not output anything if the field is set to False and if True, the output will be 1.
Shortcodeβ
Here is an example of the Beaver Themer True / False field connection shortcode.
[wpbb post:acf type='true_false' name='']
The name='' attribute is where you enter your True / False field name.
Options Pageβ
The Beaver Themer True / False field connection shortcode also supports True / False fields added to the ACF Options page by adding site:acf_option to the field connection shortcode.
[wpbb site:acf_option type='true_false' name='']