Title: Text widget
Last modified: August 21, 2016

---

# Text widget

 *  Resolved [mvaillo](https://wordpress.org/support/users/mvaillo/)
 * (@mvaillo)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/text-widget-16/)
 * Dear,
    This plug-in works with widgets, like the text widget? For me now only
   works in posts and pages, but I remember some time ago it worked also in text
   widget… you know, to embed some content in sidebar like videos or facebook like
   box. I use it with administrator rol in many sites. Thank you Marc
 * [http://wordpress.org/extend/plugins/iframe/](http://wordpress.org/extend/plugins/iframe/)

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

 *  Plugin Author [webvitalii](https://wordpress.org/support/users/webvitaly/)
 * (@webvitaly)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/text-widget-16/#post-3664953)
 * Try to add this php-code to your functions.php file:
    `add_filter('widget_text','
   do_shortcode');`
 * Or install plugin which enable widgets in sidebar widgets.
 *  Thread Starter [mvaillo](https://wordpress.org/support/users/mvaillo/)
 * (@mvaillo)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/text-widget-16/#post-3664968)
 * Thank you!
    First option works right away. But… I run a multisite installation,
   this means that I need to add this function to all themes installed, one by one?
   Best, Marc
 *  Plugin Author [webvitalii](https://wordpress.org/support/users/webvitaly/)
 * (@webvitaly)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/text-widget-16/#post-3664970)
 * > But… I run a multisite installation, this means that I need to add this function
   > to all themes installed, one by one?
 * In you case you can add the code to plugins/iframe/iframe.php file.
    It would
   be easier for you.
 *  Thread Starter [mvaillo](https://wordpress.org/support/users/mvaillo/)
 * (@mvaillo)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/text-widget-16/#post-3664973)
 * It works…
    thank you!
 *  Plugin Author [webvitalii](https://wordpress.org/support/users/webvitaly/)
 * (@webvitaly)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/text-widget-16/#post-3664974)
 * And I would recommend you to change the plugin version to ‘100’ for example in
   the same file for avoiding plugin updates and prevent losing your code.
 * But if you wish to see the updates to the Iframe plugin than I recommend to install
   another [plugin which rans shortcodes in widgets](http://wordpress.org/extend/plugins/shortcodes-in-sidebar-widgets/).
 * You may choose which approach is better for you.

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

The topic ‘Text widget’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/iframe_99a44b.svg)
 * [iframe](https://wordpress.org/plugins/iframe/)
 * [Support Threads](https://wordpress.org/support/plugin/iframe/)
 * [Active Topics](https://wordpress.org/support/plugin/iframe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/iframe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/iframe/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [webvitalii](https://wordpress.org/support/users/webvitaly/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/text-widget-16/#post-3664974)
 * Status: resolved