WordPress.org

Support

Support » Plugins and Hacks » Rehabtabs » [Resolved] [Plugin: Rehabtabs] how to use this plugin as sidebar tabs

[Resolved] [Plugin: Rehabtabs] how to use this plugin as sidebar tabs

Viewing 1 replies (of 1 total)
  • Plugin Author Grant Mangham

    @vancoder

    Hi,

    I think you mean you’d like to use the tabs within a widget. Shortcodes don’t work in widgets ‘out of the box’, but you can add the following lines to your functions.php:

    add_filter( 'widget_text', 'shortcode_unautop');
    add_filter( 'widget_text', 'do_shortcode');

    Then just add the shortcodes to a text widget in your sidebar.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Rehabtabs] how to use this plugin as sidebar tabs’ is closed to new replies.
Skip to toolbar