Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter ShatteredChain

    (@shatteredchain)

    hmm.. I changed the theme and now it works. but for the majority of the themes I tested, it did not work. any ideas on what would be causing this problem with the other themes?

    Plugin Author kosinix

    (@kosinix)

    Shortcode inside text widgets are not enabled by default in WordPress. You need to add this to your functions.php:

    add_filter('widget_text','do_shortcode');

    Some themes already have this code while others don’t (eg. twentyeleven). That’s why in some theme it works while in others it doesn’t.

    Thread Starter ShatteredChain

    (@shatteredchain)

    Thanks, kosinix.

    Where do I add this into functions.php?
    Meaning, does it matter where I place the code or should it go into a specific section?

    Thread Starter ShatteredChain

    (@shatteredchain)

    Nm.. I got it. Thanks again. That fixed it!

    I added the code above and
    Prev
    Next
    ‘);?>

    appears where the slideshow should be.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘shortcode not working’ is closed to new replies.