Support » Theme: Bootstrap Ultimate » Shortcode in Widget enabled ?

  • Resolved elody


    I want to enter some shortcode in a Text Widget but it doesn’t work, the shortcode appears as normal text … Though I found the line in functions.php that should enables the shortcode :

    // Enable shortcodes in widgets
    add_filter( 'widget_text', 'do_shortcode' );

    Is there anything you changed somewhere that I need to change ?
    Thank you in advance

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author eminozlem


    I’ve tried using adding a shortcode via text widget, no problems here.
    Marking as resolved since I cant reproduce this. Let me know if you’ve further questions

    Hello eminozlem,

    I’ve tried to include the form shortcode from Contact form 7 as in your example, and it’s working (I installed the plugin) 🙂
    But I still have normal text when I want to use this kind of shortcode :
    [display-posts category="carousel" posts_per_page="3"]
    Or :
    [map id='othermap' popup='false' html='My Location' height='400px' zoom='16' latitude='43.320392' longitude='-0.365741']

    Do you have the same problem or am I missing something ?
    Thx for your time

    Theme Author eminozlem


    Please change your theme and try again, if the widget works in another theme, but doesnt work in BSUL, report back and I’ll check with said plugin(s) -also please provide links to those-.
    I can’t possibly test it with all plugins (:

    I tried in the original Twenty Fourteen WordPress theme and it still doesn’t work, but is it supposed to work so easy ?
    I didn’t install any plugin, I thought the shortcode would work with this single line in a page or a widget :
    [display-posts category="carousel" posts_per_page="3"]
    But it displays as normal text, same for the [map id…] shortcode.
    Thx for any explanation 🙂 (I also send you a direct link to my website by email)

    Theme Author eminozlem


    If it doesnt work with TwentyFourteen either, then it’s not a theme issue.
    Btw, if you did not install a plugin how do you expect the shortcode to work , where did you get that shortcode from anyway ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Shortcode in Widget enabled ?’ is closed to new replies.