{"id":79890,"date":"2018-01-06T16:14:16","date_gmt":"2018-01-06T16:14:16","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/advanced-custom-fields-bootstrap-button\/"},"modified":"2018-04-12T12:58:54","modified_gmt":"2018-04-12T12:58:54","slug":"acf-bootstrap-button","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/acf-bootstrap-button\/","author":7779515,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.0","stable_tag":"trunk","tested":"4.9.29","requires":"4.5.0","requires_php":"","requires_plugins":"","header_name":"Advanced Custom Fields: Bootstrap Button","header_author":"teakor","header_description":"Add a field to create a Bootstrap Button for the popular Advanced Custom Fields plugin, with internal or external link.","assets_banners_color":"56d4d0","last_updated":"2018-04-12 12:58:54","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/acf-bootstrap-button\/","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1068,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog","faq"],"tags":[],"upgrade_notice":{"1.1.0":"<ul>\n<li>Added only for the tag &quot;a&quot; the attribute rel<\/li>\n<li>Added block level buttons<\/li>\n<li>Added compatibility to bootstrap 4<\/li>\n<li>Added option for outline button of bootstrap 4<\/li>\n<li>Minor Bug Fix<\/li>\n<\/ul>","1.0.7":"<ul>\n<li>Bug Fix ACF directives<\/li>\n<\/ul>","1.0.6":"<ul>\n<li>Bug Fix<\/li>\n<\/ul>","1.0.5":"<ul>\n<li>Added ACF 5 compatibility<\/li>\n<li>Code alignment with ACF directives<\/li>\n<\/ul>","1.0.4":"<ul>\n<li>Added Tag reset<\/li>\n<\/ul>","1.0.3":"<ul>\n<li>Fix bug language<\/li>\n<\/ul>","1.0.2":"<ul>\n<li>Changed some variable names to make them more similar to Bootstrap values<\/li>\n<li>Added language basic file,  for any translations<\/li>\n<\/ul>","1.0.1":"<ul>\n<li>Fix Bug Insert Link.<\/li>\n<li>Various Fix.<\/li>\n<li>Added the text of the button in &quot;Allow Advanced Options&quot;.<\/li>\n<li>When setting a Tag other than &quot;a&quot;, the link settings are hidden.<\/li>\n<li>Added function for creating the button in the front end.<\/li>\n<\/ul>","1.0.0":"<ul>\n<li>Initial Release.<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1798211","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1845947","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1845947","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1845947","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1857135","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1857135","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1857135","resolution":"3","location":"assets"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1857135","resolution":"4","location":"assets"},"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1857137","resolution":"5","location":"assets"},"screenshot-6.PNG":{"filename":"screenshot-6.PNG","revision":"1857137","resolution":"6","location":"assets"}},"screenshots":{"1":"Configuration Options Bootstrap 3","2":"Configuration Options Bootstrap 4","3":"Example settings in the post with Bootstrap 3","4":"Example settings in the post with Bootstrap 4","5":"Link Picker","6":"Example with a tag other than \"a\""},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2211,2217,728,485,2235],"plugin_category":[59],"plugin_contributors":[151540],"plugin_business_model":[],"class_list":["post-79890","plugin","type-plugin","status-closed","hentry","plugin_tags-acf","plugin_tags-advanced-custom-fields","plugin_tags-bootstrap","plugin_tags-button","plugin_tags-fields","plugin_category-utilities-and-tools","plugin_contributors-teakor","plugin_committers-teakor"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/acf-bootstrap-button_56d4d0.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/acf-bootstrap-button\/assets\/screenshot-1.png?rev=1857135","caption":"Configuration Options Bootstrap 3"},{"src":"https:\/\/ps.w.org\/acf-bootstrap-button\/assets\/screenshot-2.png?rev=1857135","caption":"Configuration Options Bootstrap 4"},{"src":"https:\/\/ps.w.org\/acf-bootstrap-button\/assets\/screenshot-3.png?rev=1857135","caption":"Example settings in the post with Bootstrap 3"},{"src":"https:\/\/ps.w.org\/acf-bootstrap-button\/assets\/screenshot-4.png?rev=1857135","caption":"Example settings in the post with Bootstrap 4"},{"src":"https:\/\/ps.w.org\/acf-bootstrap-button\/assets\/screenshot-5.png?rev=1857137","caption":"Link Picker"},{"src":"https:\/\/ps.w.org\/acf-bootstrap-button\/assets\/screenshot-6.PNG?rev=1857137","caption":"Example with a tag other than \"a\""}],"raw_content":"<!--section=description-->\n<p>This plugin adds a field for creating a Bootstrap 3 or 4 button for the popular plugin Advanced Custom Fields. In addition to supporting all Bootstrap 3 or 4 options, you can insert an internal or external link with the link picker.<\/p>\n\n<h4>General Configuration Options:<\/h4>\n\n<pre><code>1.  Text button.\n2.  HTML tags (a, button, input, submit).\n3.  Block Level Buttons\n4.  Active or disabled button status.\n5.  Additional CSS class (For any customizations).\n6.  Internal or external link with link picker.\n7.  Rel attribute for links (Alternate, Author, Bookmark, External, Help, License, Next, Nofollow, Noreferrer, Noopener, Prev, Search, Tag)\n<\/code><\/pre>\n\n<h4>Bootstrap 3 Configuration Options:<\/h4>\n\n<pre><code>1.  Button Style (Default, Primary, Success, Information, Warning, Danger, Link).\n2.  Button Size (Default, Large, Small, Extra Small).\n<\/code><\/pre>\n\n<h4>Bootstrap 4 Configuration Options:<\/h4>\n\n<pre><code>1.  Button Style (Primary, Secondary, Success, Danger, Warning, Info, Light, Dark, Link).\n2.  Button without background color\n3.  Button Size (Default, Large, Small).\n<\/code><\/pre>\n\n<p>Points from 1 to 6 in <strong>General Configuration Options<\/strong> and Points from 1 to 3 in <strong>Bootstrap 3<\/strong> or <strong>4 Configuration Options<\/strong> 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.<\/p>\n\n<p>For more information on points from 2 to 4 in General Configuration Options and for <strong>Bootstrap 3<\/strong> or <strong>4 Configuration Options<\/strong> refer to the Bootstrap documentation 3.3.7[https:\/\/getbootstrap.com\/docs\/3.3\/css\/#buttons] or Bootstrap 4.1[https:\/\/getbootstrap.com\/docs\/4.1\/components\/buttons\/].<\/p>\n\n<h4>How to use it<\/h4>\n\n<p>The plugin does not include the Bootstrap 3 css in the theme in order to be able to display it correctly, it is necessary to insert the Bootstrap 3 css in the theme, following the guidelines of Wordpress: Including CSS &amp; JavaScript.<\/p>\n\n<p>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.<\/p>\n\n<pre><code>\/\/With echo\n acf_bbutton_render(get_field('my-bbutton'));\n\n \/\/Without echo. Returns only the button's string\n acf_bbutton_render(get_field('my-bbutton'), false);\n<\/code><\/pre>\n\n<h4>Compatibility<\/h4>\n\n<p>This ACF field type is compatible with:\n* ACF 4\n* ACF 5\n* Bootstrap 3.3.7\n* Bootstrap 4.+<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Copy the <code>acf-bootstrap-button<\/code> folder into your <code>wp-content\/plugins<\/code> folder<\/li>\n<li>Activate the Advanced Custom Fields: Bootstrap Button plugin via the plugins admin page<\/li>\n<li>Create a new field via ACF and select the Button type<\/li>\n<li>Please refer to the plugin description for more info regarding the field type settings<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added only for the tag \"a\" the attribute rel<\/li>\n<li>Added block level buttons<\/li>\n<li>Added compatibility to bootstrap 4<\/li>\n<li>Added option for outline button of bootstrap 4<\/li>\n<li>Minor Bug Fix<\/li>\n<\/ul>\n\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Bug Fix ACF directives<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Bug Fix<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Added ACF 5 compatibility<\/li>\n<li>Code alignment with ACF directives<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Added Tag reset<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Fix bug language<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Changed some variable names to make them more similar to Bootstrap values<\/li>\n<li>Added language basic file,  for any translations<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fix Bug Insert Link.<\/li>\n<li>Various Fix.<\/li>\n<li>Added the text of the button in \"Allow Advanced Options\".<\/li>\n<li>When setting a Tag other than \"a\", the link settings are hidden.<\/li>\n<li>Added function for creating the button in the front end.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial Release.<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Copy the <code>acf-bootstrap-button<\/code> folder into your <code>wp-content\/plugins<\/code> folder<\/li>\n<li>Activate the Advanced Custom Fields: Bootstrap Button plugin via the plugins admin page<\/li>\n<li>Create a new field via ACF and select the Button type<\/li>\n<li>Please refer to the plugin description for more info regarding the field type settings<\/li>\n<\/ol><\/dd>\n\n<\/dl>","raw_excerpt":"This plugin adds a field for creating a Bootstrap 3 or 4 button for the popular plugin Advanced Custom Fields. In addition to supporting all Bootstrap &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/79890","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=79890"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/teakor"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=79890"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=79890"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=79890"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=79890"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=79890"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=79890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}