Title: Getting a consol error when using the shortcode
Last modified: August 30, 2016

---

# Getting a consol error when using the shortcode

 *  Resolved [AlanP57](https://wordpress.org/support/users/alanp57/)
 * (@alanp57)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/getting-a-consol-error-when-using-the-shortcode/)
 * I noticed a console error on the page where I placed the shortcode:
 *     ```
       ReferenceError: create_tithely_widget is not defined
       var tw = create_tithely_widget(config);
       ```
   
 * Also a suggestion; can you add a style attribute and/or a class attribute to 
   the shortcode so that I can specify a different style or pass it my button class
   so that it will match the rest of my theme.
 * Thank you
 * [https://wordpress.org/plugins/wp-tithely/](https://wordpress.org/plugins/wp-tithely/)

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

 *  [Patrick Steil](https://wordpress.org/support/users/patrickchurchbuzzorg/)
 * (@patrickchurchbuzzorg)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/getting-a-consol-error-when-using-the-shortcode/#post-6402925)
 * Alan works with me and I can attest that the console error has been corrected.
   Jordan provides great support for this plugin and it does work well.
 * You can mark this as resolved 🙂
 *  Plugin Author [jordesign](https://wordpress.org/support/users/jordesign/)
 * (@jordesign)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/getting-a-consol-error-when-using-the-shortcode/#post-6402928)
 * Thanks for fixing the console error Patrick – much appreciated. Alan – thanks
   for the suggestion re: adding a class to the button – It will be in the next 
   update.

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

The topic ‘Getting a consol error when using the shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-tithely_26af5f.svg)
 * [Tithe.ly Giving Button](https://wordpress.org/plugins/wp-tithely/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-tithely/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-tithely/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-tithely/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-tithely/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-tithely/reviews/)

## Tags

 * [javascript error](https://wordpress.org/support/topic-tag/javascript-error/)

 * 2 replies
 * 3 participants
 * Last reply from: [jordesign](https://wordpress.org/support/users/jordesign/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/getting-a-consol-error-when-using-the-shortcode/#post-6402928)
 * Status: resolved