Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mike Martel

    (@mike_cowobo)

    Hi @samjolley,

    The default WP text widget does not process shortcodes – that is why is simply outputs the shortcode as text. You can either:

    1. Install a widget plugin that does process shortcodes, for example by using Black Studio TinyMCE Widget.

    2. Let the WP text widget process shortcodes by adding the following to your functions plugin or (child)theme functions.php:

    add_filter( 'widget_text', 'shortcode_unautop');
    add_filter( 'widget_text', 'do_shortcode');

    Cheers,
    Mike

    Thread Starter samjolley

    (@samjolley)

    Perfect. Works great, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display WP-Tiles in Widget’ is closed to new replies.