Title: RFC: add embed/shortcode function to text widgets
Last modified: August 31, 2016

---

# RFC: add embed/shortcode function to text widgets

 *  [Jos Klever](https://wordpress.org/support/users/josklever/)
 * (@josklever)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/rfc-add-embedshortcode-function-to-text-widgets/)
 * Hi Alex,
 * I’ve updated to Suevafree 2.0.7 + Polar Lite 2.0.1, but had some changes in Polar
   Lite, so I had to restore them. I moved some custom CSS to the Customizer, but
   still have a function I added to my child theme to make it possible to embed 
   Soundcloud links. It would be nice if you could add it to the Suevafree functions.
   php because others might need this as well.
 *     ```
       add_filter( 'widget_text', array( $wp_embed, 'run_shortcode' ), 8 );
       add_filter( 'widget_text', array( $wp_embed, 'autoembed'), 8 );
       ```
   

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Theme Author [alexvtn](https://wordpress.org/support/users/alexvtn/)
 * (@alexvtn)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/rfc-add-embedshortcode-function-to-text-widgets/#post-7070171)
 * Hi
 * you can install this plugin
 * [https://wordpress.org/plugins/text-widget-oembed/](https://wordpress.org/plugins/text-widget-oembed/)
 * Best regards
 * Alex
 * WPinProgress
 *  Thread Starter [Jos Klever](https://wordpress.org/support/users/josklever/)
 * (@josklever)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/rfc-add-embedshortcode-function-to-text-widgets/#post-7070172)
 * Well, I don’t like to depend on plugins that are unsupported for 5 years… I know
   it contains exactly this code, but it will also show up on my security scans 
   as a possible risk, because of this age.
 *  Theme Author [alexvtn](https://wordpress.org/support/users/alexvtn/)
 * (@alexvtn)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/rfc-add-embedshortcode-function-to-text-widgets/#post-7070173)
 * unfortunately i can’t add this feature on Suevafree
 * [https://themes.trac.wordpress.org/ticket/23399#comment:3](https://themes.trac.wordpress.org/ticket/23399#comment:3)
 * i guess it’s the same with:
 * add_filter( ‘widget_text’, array( $wp_embed, ‘run_shortcode’ ), 8 );
    add_filter(‘
   widget_text’, array( $wp_embed, ‘autoembed’), 8 );
 * Best regards
 * Alex
 * WPinProgress
 *  Thread Starter [Jos Klever](https://wordpress.org/support/users/josklever/)
 * (@josklever)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/rfc-add-embedshortcode-function-to-text-widgets/#post-7070174)
 * It would have been nice as an option (default: inactive), but I understand not
   everybody would like it.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘RFC: add embed/shortcode function to text widgets’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/suevafree/3.9.5.3/screenshot.png)
 * SuevaFree
 * [Support Threads](https://wordpress.org/support/theme/suevafree/)
 * [Active Topics](https://wordpress.org/support/theme/suevafree/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/suevafree/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/suevafree/reviews/)

## Tags

 * [embed](https://wordpress.org/support/topic-tag/embed/)
 * [text widget](https://wordpress.org/support/topic-tag/text-widget/)

 * 4 replies
 * 2 participants
 * Last reply from: [Jos Klever](https://wordpress.org/support/users/josklever/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/rfc-add-embedshortcode-function-to-text-widgets/#post-7070174)
 * Status: not resolved