Tweet, Like, Google +1 and Share
shortcode in sidebar (4 posts)

  1. margje
    Posted 5 years ago #

    Is it possible to show the shortcode output in the sidebar? I've tried it and no buttons are shown. It works only in a post.

    Any options (widget or shortcode) to add the buttons to the sidebar ?


  2. margje
    Posted 5 years ago #


  3. polins
    Posted 4 years ago #

    Put the shortcode for the plugin (such as [social4i size="small" align="float-left"] ) in a sidebar text widget. Then execute the shortcode, (e.g. using the plugin, Shortcodes in Sidebar Widgets).
    You probably will want to turn off the default display within the contents of posts/pages to prevent duplicate loading.

    PS What a cool plugin; it gives you the basics—fast!

  4. sudipto
    Plugin Author

    Posted 4 years ago #

    @margje - By default you cannot use shortcodes in your sidebar. You can use plugins for that or simply add the below code in your themes functions.php and then you will be able to use shortcodes in your text widgets

    add_filter('widget_text', 'do_shortcode');

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Tweet, Like, Google +1 and Share
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic