Title: Extra button styles
Last modified: October 23, 2020

---

# Extra button styles

 *  Resolved [Behnam Nikkhah](https://wordpress.org/support/users/bnikkhah/)
 * (@bnikkhah)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/extra-button-styles/)
 * Currently the plugin has _Primary_ and _Secondary_ styles to choose from, but
   would it also be possible to add in more styles? The styles I’m talking about
   are the following:
    - Success
    - Danger
    - Warning
    - Info
    - Light
    - Dark
 * These are all the _official_ button styles as per the documentation [here](https://getbootstrap.com/docs/4.5/components/buttons/#examples).
 * In addition, it would also be good to add in _link targets_ such as _\_self_ (
   link opens in the same domain) or _\_blank_ (link opens in a new tab).
 * Thank you!

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

 *  Plugin Author [tschortsch](https://wordpress.org/support/users/tschortsch/)
 * (@tschortsch)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/extra-button-styles/#post-13575376)
 * Hi [@bnikkhah](https://wordpress.org/support/users/bnikkhah/). You’re able to
   add further styles with the `wpBootstrapBlocks.button.styleOptions` JavaScript
   filter. You’ll find an example on how to use it here: [https://github.com/liip/bootstrap-blocks-wordpress-plugin#wpbootstrapblocksbuttonstyleoptions](https://github.com/liip/bootstrap-blocks-wordpress-plugin#wpbootstrapblocksbuttonstyleoptions).
 * The `button` block hasn’t seen much love since the initial release of this plugin.
   Resource wise we focused on maintaining and enhancing the Bootstrap grid which
   might probably be the most used feature of Bootstrap. But you’re totally right,
   a target option should be available for this block. Hopefully I’ll find some 
   time in the near future to implement this.
 *  Plugin Author [tschortsch](https://wordpress.org/support/users/tschortsch/)
 * (@tschortsch)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/extra-button-styles/#post-13618837)
 * We released version 3.1.0 of the plugin yesterday which adds the “Open in new
   tab” feature on the button block.
 *  Thread Starter [Behnam Nikkhah](https://wordpress.org/support/users/bnikkhah/)
 * (@bnikkhah)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/extra-button-styles/#post-13618857)
 * [@tschortsch](https://wordpress.org/support/users/tschortsch/) Ok, that’s great
   news! Thanks for letting me know!

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

The topic ‘Extra button styles’ is closed to new replies.

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

 * 3 replies
 * 2 participants
 * Last reply from: [Behnam Nikkhah](https://wordpress.org/support/users/bnikkhah/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/extra-button-styles/#post-13618857)
 * Status: resolved