The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Raw HTML Snippets
Stopped working in sidebar text widget with latest version of WordPress 3.5.2 (5 posts)

  1. Dan & Jennifer
    Posted 3 years ago #

    Hi there. I just updated to the latest version of WordPress (3.5.2) and now I'm seeing the text of the shortcode in the sidebar text widget? (The content of the shortcode is no longer displaying).

    This is happening on several different websites.

    Here's a screenshot: http://www.screencast.com/t/WnxaQyG9a21B

    It still works in content but not in the text widget.


  2. Dan & Jennifer
    Posted 3 years ago #

    OK so this is a strange issue... After posting yesterday, I remember that I had deactivated the PollDaddy Plugin (http://wordpress.org/plugins/polldaddy/).

    If I reactivate that plugin, Raw HTML Snippets starts working again. I tried this test with several plugins, but only the PollDaddy plugin causes this issue.

    I even tried uninstalling both the PollDaddy and Raw HTML Snippets plugins - I cannot get Raw HTML Snippets to work if I don't have the PollDaddy plugin activated?

    Please help...

  3. Andy Stratton
    Plugin Author

    Posted 2 years ago #


    Sorry I never get notifications of these posts so I tend to miss them. Apologies.

    Since it's a shortcode, it requires that shortcodes be applied to the widget's content, which I believe is not a default behavior.

    Perhaps the PollDaddy plugin applies shortcodes (or applies filters for 'the_content', which includes shortcodes) to Text Widget content...

  4. Andy Stratton
    Plugin Author

    Posted 2 years ago #

    You can install this plugin and you should be moving: http://wordpress.org/plugins/use-shortcodes-in-sidebar-widgets/

    Or, add the following line of code to your theme's functions.php file:

    add_filter( 'widget_text', 'do_shortcode' );

    Hope this helps!

  5. Dan & Jennifer
    Posted 2 years ago #

    Hey Andy!
    That worked!!! Thanks so much for the great recommendation!
    Went with the "Use Shortcodes in Sidebar Widgets" plugin, lol a 1-line plugin. Worked better for us since being a plugin it applies to all themes in use.
    AND we can finally do away with PollDaddy! :-)
    Have an awesome day!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Raw HTML Snippets
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.