• Resolved drjessechappus

    (@drjessechappus)


    Hello,

    I’ve recently installed ww.wp.xz.cn and created a new website.

    My shortcodes do not seem to be working. I’ve tried with two different plugins and they just display the shortcode on the site and not the actual plugin. Any ideas?

    Thank you.

    Website: http://healthtalkpodcast.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • Michael

    (@alchymyth)

    have you tried to add this code to functions.php of your theme:

    add_filter('widget_text', 'do_shortcode');

    that ‘shortcode’ seems to be from a commercial plugin – in which case it might be a good idea to contact the plugin’s developer/vendor for support (?)

    Thread Starter drjessechappus

    (@drjessechappus)

    Thanks @alchymyth but this happens with all shortcode and not just this plugin.

    WordPress was just installed, I’m not sure why this would happen. I already run this theme on another website without this issue.

    Weird I would need a filter?

    Michael

    (@alchymyth)

    by default, shortcodes do not run in a textwidget;

    you need to add the suggested line into functions.php of the currently used theme.

    also, not everything in [] square brackets is shortcode; http://codex.ww.wp.xz.cn/Shortcode_API

    Thread Starter drjessechappus

    (@drjessechappus)

    Thanks @alchymyth… it worked!

    And I learned something new 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Shortcode Issue’ is closed to new replies.