WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Text widget

[Resolved] Text widget

  • 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/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author webvitalii

    @webvitaly

    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.

    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

    @webvitaly

    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.

    It works…
    thank you!

    Plugin Author webvitalii

    @webvitaly

    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.

    You may choose which approach is better for you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Text widget’ is closed to new replies.