=== Advanced Custom Fields: Bootstrap Button === Contributors: teakor Tags: acf, advanced, custom, field, fields, form, repeater, content, button, bootstrap Requires at least: 4.5.0 Tested up to: 4.9.2 Stable tag: 1.0.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html This plugin adds a field for creating e a Bootstrap button for the popular plugin Advanced Custom Fields. In addition to supporting all Bootstrap options, you can insert an internal or external link with the link picker. == Description == This plugin adds a field for creating e a Bootstrap button for the popular plugin Advanced Custom Fields. In addition to supporting all Bootstrap options, you can insert an internal or external link with the link picker. = Configuration Options: = 1. Button text. 2. Tag HTML (a, button, input, submit, reset). 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. Points from 1 to 7 can be configured with default values and you can choose whether or not to display these options on the page or post, where this custom field was added. For more information on points from 2 to 5 refer to the [Bootstrap documentation 3.3.7](https://getbootstrap.com/docs/3.3/css/#buttons). = How to use it = The plugin does not include the Bootstrap css in the theme in order to be able to display it correctly, it is necessary to insert the Bootstrap css in the theme, following the guidelines of Wordpress: Including CSS & JavaScript. To view the button in the front end, a function has been implemented, which will facilitate the operation. This function will only read the values of the button and return the correct HTML. `echo acf_bbutton_render(get_field('my-bbutton'));` = Compatibility = This ACF field type is compatible with: * ACF 4 == Installation == 1. Copy the `acf-bootstrap-button` folder into your `wp-content/plugins` folder 2. Activate the Advanced Custom Fields: Bootstrap Button plugin via the plugins admin page 3. Create a new field via ACF and select the Button type 4. Please refer to the plugin description for more info regarding the field type settings == Screenshots == 1. Configuration Options 2. Example settings in the post 3. Link Picker 4. Example with a tag other than "a" == Changelog == = 1.0.4 = * Add Tag reset = 1.0.3 = * Fix bug language = 1.0.2 = * Changed some variable names to make them more similar to Bootstrap values * Added language basic file, for any translations = 1.0.1 = * Fix Bug Insert Link. * Various Fix. * Added the text of the button in "Allow Advanced Options". * When setting a Tag other than "a", the link settings are hidden. * Added function for creating the button in the front end. = 1.0.0 = * Initial Release. == Upgrade Notice == = 1.0.4 = * Add Tag reset = 1.0.3 = * Fix bug language = 1.0.2 = * Changed some variable names to make them more similar to Bootstrap values. * Added language basic file, for any translations. = 1.0.1 = * Fix Bug Insert Link. * Various Fix. * Added the text of the button in "Allow Advanced Options". * When setting a Tag other than "a", the link settings are hidden. * Added function for creating the button in the front end. = 1.0.0 = * Initial Release.