• Resolved yflement

    (@yflement)


    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/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author smashballoon

    (@smashballoon)

    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

    (@yflement)

    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

    (@smashballoon)

    No probs, happy to help! 🙂

    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/

    Thanks

    Plugin Author smashballoon

    (@smashballoon)

    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

    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

    (@smashballoon)

    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.