Shortcode not working

This topic contains 5 replies, has 2 voices, and was last updated by  Paolo 8 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #62897

    netbrasil
    Expired Member
    Post count: 133

    Hi, im not sure what i did wrong .. i jsut pressed a couple of buttons in http://prntscr.com/9blv6j
    then deleted all deactivated plugin (which are not being used.) .. suddenly the shortcodes stopped working

    #62898

    netbrasil
    Expired Member
    Post count: 133
    This reply has been marked as private.
    #62899

    netbrasil
    Expired Member
    Post count: 133

    Looks like shortcode doesnt work in widgets boxes only. i was able to get it working again when i added — add_filter(‘widget_text’, ‘do_shortcode’); in my functions.php

    but i think i did something wrong, because earlier it wasnt like that

    #62955

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    that is normal, shortcodes work in text widgets only if you add that snippet to functions.php of your theme. Otherwise they only work in pages and posts content. Probably you had a plugin or theme that was adding that by default?

    Let us know,

    #63003

    netbrasil
    Expired Member
    Post count: 133

    I thought it will work by default.. Probably yes and i accidentally removed it.Thanks for the info 🙂

    #63050

    Paolo
    Site Admin
    Post count: 31206

    You are welcome 🙂

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket