Advanced Custom Fields: Bootstrap Button Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
Add a field to create a Bootstrap Button for the popular Advanced Custom Fields plugin, with internal or external link.
Configuration Options:
1. Button text.
2. Tag HTML (a, button, input, submit).
3. Button Style (Default, Primary, Success, Information, Warning, Danger, Link).
4. Button Size (Default, Large, Small, Extra Small).
5. Active or disabled button status.
6. Alternative CSS class.
7. Internal or external link.
The points between 1 and 6 can be configured with default values and set so that they are not visible on the page or in the post where this custom field is added.
For more information on points between 2 and 5, please refer to the Bootstrap documentation.
Use
To display the button in the Front End, put the following code in your theme.
echo acf_bbutton_render(get_field('my-bbutton'));
Note
It is recommended to let this plugin enqueue the latest version stable of Bootstraap 3.3.
Compatibility
This ACF field type is compatible with:
* ACF 4
Features Next Release
- Add ACF 5 compatibility