Title: Shortcodes stop working when deactivating plugin
Last modified: August 31, 2016

---

# Shortcodes stop working when deactivating plugin

 *  Resolved [yflement](https://wordpress.org/support/users/yflement/)
 * (@yflement)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/shortcodes-stop-working-when-deactivating-plugin/)
 * I needed to temporarily deactivate this plugin. However, when doing so, **all
   shortcodes of other plugins stopped working**. I currently only use shortcodes
   in widgets. FontAwesome stopped working as well (I use a plain link to their 
   CDN). I use no caching.
 * How can I deactivate this plugin without breaking the rest of my website?
 * I have already tried disabling/enabling/re-installing all other plugins but the
   problem persists…
 * [https://wordpress.org/plugins/custom-facebook-feed/](https://wordpress.org/plugins/custom-facebook-feed/)

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

 *  Plugin Author [smashballoon](https://wordpress.org/support/users/smashballoon/)
 * (@smashballoon)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/shortcodes-stop-working-when-deactivating-plugin/#post-6985115)
 * Hey yflement,
 * It sounds like your WordPress theme doesn’t currently allow shortcodes to be 
   used in widgets. In our plugin we include the following code which allows shortcodes
   to be used in widgets:
 *     ```
       //Allows shortcodes in theme
       add_filter('widget_text', 'do_shortcode');
       ```
   
 * We added this to allow the shortcode in our plugin to be able to be used in widgets
   even if the theme doesn’t allow it. If that code isn’t included in your theme
   then when you deactivate the plugin the code is removed and you’re not able to
   use shortcodes in widgets again.
 * To overcome this you can simply add the above code to your theme’s **functions.
   php** file which will then allow your theme to use shortcodes in widgets.
 * Let me know whether that makes sense, or if you have any further questions.
 * John
 *  Thread Starter [yflement](https://wordpress.org/support/users/yflement/)
 * (@yflement)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/shortcodes-stop-working-when-deactivating-plugin/#post-6985179)
 * Smashballoon, you are a lifesaver!
 * It was exactly as you said. I thought you could use shortcodes in widgets by 
   default.
 * Many thanks!
 *  Plugin Author [smashballoon](https://wordpress.org/support/users/smashballoon/)
 * (@smashballoon)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/shortcodes-stop-working-when-deactivating-plugin/#post-6985209)
 * No probs, happy to help! 🙂
 *  [jithomps](https://wordpress.org/support/users/jithomps/)
 * (@jithomps)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/shortcodes-stop-working-when-deactivating-plugin/#post-6985241)
 * We were pulling facebook reviews into a WordPress web page with this short code:**[
   facebook_reviews]**
 * Now all we get is: No review available.
 * Will you help us get back up and running? the web page is [http://www.ocalapoolboys.com/about-us/facebook-reviews/](http://www.ocalapoolboys.com/about-us/facebook-reviews/)
 * Thanks
 *  Plugin Author [smashballoon](https://wordpress.org/support/users/smashballoon/)
 * (@smashballoon)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/shortcodes-stop-working-when-deactivating-plugin/#post-6985243)
 * Hey jithomps,
 * That shortcode isn’t from our plugin. All of our shortcodes start with [custom-
   facebook-feed ..]. It sounds like you might be using a different Facebook plugin.
   Could you check whether that’s the case?
 * Many thanks,
 * John
 *  [jithomps](https://wordpress.org/support/users/jithomps/)
 * (@jithomps)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/shortcodes-stop-working-when-deactivating-plugin/#post-6985254)
 * Thank you for the timely response. We are using
 * Version 2.3.10 | By Smash Balloon | View details
 * the guy who set this up used the shortcode [facebook_reviews] and it worked, 
   but now has stopped.
 *  Plugin Author [smashballoon](https://wordpress.org/support/users/smashballoon/)
 * (@smashballoon)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/shortcodes-stop-working-when-deactivating-plugin/#post-6985258)
 * Hey jithomps,
 * I see that you have our plugin activated on your website but that shortcode isn’t
   for our plugin. We don’t have a “facebook_reviews” shortcode built into the plugin.
   The only shortcode the plugin uses is [custom-facebook-feed]. Our plugin doesn’t
   currently have the ability to display Facebook reviews.
 * You may need to check with the person who set it up as it’s not possible that
   they used our plugin to display Facebook reviews on your site.
 * Many thanks!
 * John

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

The topic ‘Shortcodes stop working when deactivating plugin’ is closed to new replies.

 * ![](https://ps.w.org/custom-facebook-feed/assets/icon-256x256.png?rev=2700775)
 * [Smash Balloon Social Post Feed - Simple Social Feeds for WordPress](https://wordpress.org/plugins/custom-facebook-feed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-facebook-feed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-facebook-feed/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-facebook-feed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-facebook-feed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-facebook-feed/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [smashballoon](https://wordpress.org/support/users/smashballoon/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/shortcodes-stop-working-when-deactivating-plugin/#post-6985258)
 * Status: resolved