WordPress.org

Forums

Grunion Contact Form
Shortcodes Broken in Text Widgets (4 posts)

  1. Brian Glenn
    Member
    Posted 4 years ago #

    When placing the shortcodes into the Text Widget, they are not processed by the WordPress engine. I see the shortcodes displayed directly into the content. I do not have this issue on Pages or Posts.

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    right.... I don't think shortcodes actually work in text widgets....

    I believe adding

    add_filter('widget_text', 'do_shortcode');

    to functions.php will allow it

  3. Brian Glenn
    Member
    Posted 4 years ago #

    Thank you for the reply. I would say that version 1.2 of Grunion processed the shortcodes correctly in WordPress 3.0.3. I will try your suggestion to make this work.

  4. Brian Glenn
    Member
    Posted 4 years ago #

    Adding that function call into functions.php in the theme directory solved the problem. Thanks, Rev. Voodoo.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Grunion Contact Form
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic