WordPress.org

Ready to get started?Download WordPress

Forums

Cyclone Slider 2
[resolved] shortcode not working (6 posts)

  1. ShatteredChain
    Member
    Posted 1 year ago #

    I installed the CS2 and set it up but the shortcode is not working on the widgets. All it shows is the code itself. i.e. you see the code on the widget [cycloneslider id="widgetslider"]

    here's my url shatteredchain.com/

    http://wordpress.org/extend/plugins/cyclone-slider-2/

  2. ShatteredChain
    Member
    Posted 1 year ago #

    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?

  3. kosinix
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  4. ShatteredChain
    Member
    Posted 1 year ago #

    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?

  5. ShatteredChain
    Member
    Posted 1 year ago #

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

  6. goldenimage
    Member
    Posted 1 year ago #

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

    appears where the slideshow should be.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.