Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Dan & Jennifer

    (@danstuff)

    OK so this is a strange issue… After posting yesterday, I remember that I had deactivated the PollDaddy Plugin (https://www.ads-software.com/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…

    Plugin Author Andy Stratton

    (@theandystratton)

    Dan,

    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…

    Plugin Author Andy Stratton

    (@theandystratton)

    You can install this plugin and you should be moving: https://www.ads-software.com/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!

    Thread Starter Dan & Jennifer

    (@danstuff)

    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!
    Dan

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Stopped working in sidebar text widget with latest version of WordPress 3.5.2’ is closed to new replies.