Title: [Plugin: WP CSS Button (CTA-Button Plugin)] Buttons in Widgets
Last modified: August 19, 2016

---

# [Plugin: WP CSS Button (CTA-Button Plugin)] Buttons in Widgets

 *  Resolved [officevoodookit](https://wordpress.org/support/users/officevoodookit/)
 * (@officevoodookit)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-css-button-cta-button-plugin-buttons-in-widgets/)
 * Does anyone know of a plugin that will allow you to add shortcut code like the
   one for this button `[CSSBUTTON target="http://www.linktarget.com" color="000000"
   textcolor="ffffff"]Button Caption[/CSSBUTTON]` in a widget?
 * I’m trying to figure out how to put the button(s) in a widget.
 * [http://wordpress.org/extend/plugins/wp-css-button/](http://wordpress.org/extend/plugins/wp-css-button/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [officevoodookit](https://wordpress.org/support/users/officevoodookit/)
 * (@officevoodookit)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-css-button-cta-button-plugin-buttons-in-widgets/#post-1552741)
 * Never mind. I found this [http://www.smashingmagazine.com/2009/02/02/mastering-wordpress-shortcodes](http://www.smashingmagazine.com/2009/02/02/mastering-wordpress-shortcodes)
 * > The problem. Even if you enjoyed this article, you may have felt a bit frustrated
   > because, by default, WordPress doesn’t allow shortcode to be inserted into 
   > sidebar widgets. Thankfully, here’s a little trick to enhance WordPress functionality
   > and allow shortcodes to be used in sidebar widgets.
   > The solution. One more piece of code to paste in your functions.php file:
   >  
   > view source
   > 1 `add_filter('widget_text', 'do_shortcode');`

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WP CSS Button (CTA-Button Plugin)] Buttons in Widgets’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-css-button.svg)
 * [WP CSS Button (CTA-Button Plugin)](https://wordpress.org/plugins/wp-css-button/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-css-button/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-css-button/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-css-button/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-css-button/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [officevoodookit](https://wordpress.org/support/users/officevoodookit/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-css-button-cta-button-plugin-buttons-in-widgets/#post-1552741)
 * Status: resolved