Shortcode in text widget

Community Forums Forums Design Tips and Tricks Shortcode in text widget

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  SoZo 1 year, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4076

    goldenimage
    Participant

    I added

    add_filter( ‘widget_text’, ‘shortcode_unautop’);

    add_filter( ‘widget_text’, ‘do_shortcode’);

    to the Nameless child theme’s fuctions.php and the out put is
    PREV
    NEXT
    ‘);?>

    This theme has a responsive slider widget. I tried adding the short code to a text widget first and that didn’t work either.
    Any suggestions?

    • This topic was modified 1 year, 7 months ago by  goldenimage.
    • This topic was modified 1 year, 7 months ago by  goldenimage.
    • This topic was modified 1 year, 7 months ago by  goldenimage.
    • This topic was modified 1 year, 7 months ago by  goldenimage. Reason: Stupid formatting!
    • This topic was modified 1 year, 7 months ago by  goldenimage.
    • This topic was modified 1 year, 7 months ago by  goldenimage.
    • This topic was modified 1 year, 7 months ago by  goldenimage.
    • This topic was modified 1 year, 7 months ago by  goldenimage. Reason: Stupid formatting!
    #14885

    SoZo
    Moderator
    Post count: 1573

    I’m not familiar with the theme. You should contact the theme’s developer.


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.