Title: Make buttons support .btn-link
Last modified: October 14, 2023

---

# Make buttons support .btn-link

 *  Resolved [Cyril Batillat](https://wordpress.org/support/users/cyrilbatillat/)
 * (@cyrilbatillat)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/make-buttons-support-btn-link/)
 * Hello, and thank you for this _must-have_ plugin 🙏.
   I found that, while editing
   _Button_ block, its _Link_ variation is missing from the Style setting dropdown(
   [@see complete list of variations on Bootstrap doc](http://wp-content/plugins/all-bootstrap-blocks/blocks/button/block.js)).
 * Available variations are defined in `blocks/button/block.js` :
 *     ```wp-block-code
       options={ [{ label: 'Default', value: 'btn-primary' },{ label: 'Primary', value: 'btn-primary' },{ label: 'Primary (Outline)', value: 'btn-outline-primary' },{ label: 'Secondary', value: 'btn-secondary' },{ label: 'Secondary (Outline)', value: 'btn-outline-secondary' },{ label: 'Success', value: 'btn-success' },{ label: 'Success (Outline)', value: 'btn-outline-success' },{ label: 'Danger', value: 'btn-danger' },{ label: 'Danger (Outline)', value: 'btn-outline-danger' },{ label: 'Warning', value: 'btn-warning' },{ label: 'Warning (Outline)', value: 'btn-outline-warning' },{ label: 'Info', value: 'btn-info' },{ label: 'Info (Outline)', value: 'btn-outline-info' },{ label: 'Light', value: 'btn-light' },{ label: 'Light (Outline)', value: 'btn-outline-light' },{ label: 'Dark', value: 'btn-dark' },{ label: 'Dark (Outline)', value: 'btn-outline-dark' },] }
       ```
   
 * Could you please append _Link_ variation to this list, or explain how this list
   could be extended?
 * Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [all_bootstrap_blocks](https://wordpress.org/support/users/areoimiles/)
 * (@areoimiles)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/make-buttons-support-btn-link/#post-17128640)
 * Hi [@cyrilbatillat](https://wordpress.org/support/users/cyrilbatillat/)
 * Glad to hear you’re enjoying the plugin!
 * Thank you for flagging this. I’ve got a couple of other updates to make this 
   week so I will add this to my list and make sure it’s resolved for you in the
   next release (should be this week). I will send you an update as soon as it is
   available.
 * Thank you again for flagging this and your patience while I get it resolved.
 * Miles
 *  Thread Starter [Cyril Batillat](https://wordpress.org/support/users/cyrilbatillat/)
 * (@cyrilbatillat)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/make-buttons-support-btn-link/#post-17128933)
 * Hi Miles, thank you for your feedback.
   It would be great to have a filter hook
   in there, to be able to put some additional-custom-stylished variations, or to
   remove existing ones that we don’t want to be used on the website.
 * Regards,
 *  Plugin Author [all_bootstrap_blocks](https://wordpress.org/support/users/areoimiles/)
 * (@areoimiles)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/make-buttons-support-btn-link/#post-17137669)
 * Hey [@cyrilbatillat](https://wordpress.org/support/users/cyrilbatillat/),
 * I have just released an update (1.3.11) which includes the `.btn-link` option
   as default. I’ve also added a filter so you can override the options that display
   in the button style list. See how to use it below. within the filter you can 
   merge your own array into the existing styles or completely replace it.
 *     ```wp-block-code
       add_filter( 'areoi_btn_styles', function( $styles ) {
       $styles = array(
            array( 'label' => 'Default', 'value' => 'btn-primary' ),
            array( 'label' => 'Custom', 'value' => 'btn-custom' ),
       );
   
            return $styles;
       } );
       ```
   
 * Hopefully this resolves your issue, but if not please don’t hesitate to get back
   in touch.
 * Thanks
   Miles
 * P.S: if you like our plugin and are happy with the support we have provided, 
   we would really appreciate it if you could take a few seconds to leave us a positive
   review.
   [https://wordpress.org/support/plugin/all-bootstrap-blocks/reviews/#new-post](https://wordpress.org/support/plugin/all-bootstrap-blocks/reviews/#new-post)
 *  Thread Starter [Cyril Batillat](https://wordpress.org/support/users/cyrilbatillat/)
 * (@cyrilbatillat)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/make-buttons-support-btn-link/#post-17137803)
 * Amazing, Miles. 
   Thank you very much. Keep on going 🤘!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Make buttons support .btn-link’ is closed to new replies.

 * ![](https://ps.w.org/all-bootstrap-blocks/assets/icon-256x256.gif?rev=2617070)
 * [All Bootstrap Blocks](https://wordpress.org/plugins/all-bootstrap-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-bootstrap-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-bootstrap-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/all-bootstrap-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-bootstrap-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-bootstrap-blocks/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Cyril Batillat](https://wordpress.org/support/users/cyrilbatillat/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/make-buttons-support-btn-link/#post-17137803)
 * Status: resolved