• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
LegitWebs

LegitWebs

Bay Area Website Design

  • Home
  • Blog
  • Services
  • Portfolio
  • About
  • Contact
Bay Area Web Design

Shortcodes not working in WordPress widgets – Solution

November 27, 2013 by Alex

I had an issue with the plugin HiSlider not working within widgets on a WordPress installation while working perfectly in a page or a post. The solution did not lie within plugin incompatibilities or PHP versions. It was a rather simple fix.

Navigate to your theme’s functions.php and add the following line of code:

add_filter('widget_text', 'do_shortcode');

And that’s all!

Category: ArticlesTag: WordPress
Previous Post:Outlook.comDouble Emails in Sent with Outlook.com
Next Post:Use Google’s data highlighter instead of microdataGoogle

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Let’s work together

We specialize in working with local businesses. Find out what LegitWebs can do.

Contact Us

CONTACT INFO

LegitWebs
Walnut Creek, CA 94596
415.935.4441
alex@legitwebs.com

SOCIAL MEDIA

Follow along with our latest events and news.

  • Google
  • Yelp
  • Facebook
  • Twitter
  • LinkedIn
  • YouTube

QUICK LINKS

  • About Us
  • Contact Us
  • Payments
  • Services
  • Sitemap

Copyright © 2023 · LegitWebs · All Rights Reserved · Terms & Privacy

Return to top