• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Carrie Dils snippet for Enable Shortcodes in Widgets no longer working –

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Carrie Dils snippet for Enable Shortcodes in Widgets no longer working –

This topic is: not resolved

Tagged: education pro

  • This topic has 6 replies, 4 voices, and was last updated 6 years, 7 months ago by Kent.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • January 16, 2017 at 6:54 pm #199522
    wildwebwest
    Member

    Hey guys and girls. I've always used Carrie Dils snippet in my function.php files for most sites.

    //* Enable shortcodes in widgets - Genesis
    add_filter('widget_text', 'do_shortcode’);

    I'm building a new website using Education Pro but when I paste that snippet in the function.php file it throws and error. Anyone know best way to get shortcode to resolve in the Education Pro ? Plugin? Different Snippet?

    Thanks much.

    Mary


    Wild Web West, LLC
    #IHeartGenesis

    January 16, 2017 at 7:24 pm #199523
    Victor Font
    Moderator

    That's the correct snippet. Make sure you are using straight quotes and your editor hasn't converted them to curly quotes. The last quote looks like a curly quote to me.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    January 16, 2017 at 9:09 pm #199524
    wildwebwest
    Member

    Hey Victor, thank you very much for the reply. Do you mean these? 'widget_text', 'do_shortcode’ I just keep the snippet in Notes on my iMac. I'll see if I can find Carrie Dils web page and copy from there. Will keep you posted.

    Is there any other way that people add this command to enable shortcode in widgets? I'd like to know as a backup. Dills snippet always works, and all I've used for eons.

    Thanks again.


    Wild Web West, LLC
    #IHeartGenesis

    January 17, 2017 at 12:14 am #199529
    Victor Font
    Moderator

    That's the only command the WordPress provides to add shortcodes to wodgets.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 22, 2017 at 7:50 am #201757
    Kent
    Participant

    This isn't working for me either. Anyone figure out what's up. Did you get it to work, @WildWeb West?


    Dad. Biker. Designer. | kentfackenthall.com

    February 22, 2017 at 4:13 pm #201791
    Brad Dalton
    Participant

    Did you get a error message?


    Tutorials for StudioPress Themes & WooCommerce.

    February 23, 2017 at 7:52 am #201816
    Kent
    Participant

    Brad,

    No, I did not. Shortcode just shows up in the widget. Here's an example, used in the 'After Entry' widget.

    Test Post


    Dad. Biker. Designer. | kentfackenthall.com

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble