Socialize This
[resolved] Two different widget bars? (2 posts)

  1. literayz
    Posted 5 years ago #

    Is there anyway to assign specifically which widgets(links) are called into the template using the template tag provided with Socialize This?

    <?php show_social_widgets(); ?>

    I need a group of social sharing icons in my footer but I also need a set of social profile icons in the primary sidebar. The two types may have similar icons but serve different functions and can't be in the same spot on the page or they may cause confusion.

    Anyone know how this can be done without editing plugin core?


  2. Mike Rogers
    Plugin Author

    Posted 5 years ago #

    Yeah, there is :)

    In the show_social_widgets() function, the first attribute you can input is a widget IDs limiter. So for example


    would output the widgets with the ID's 1,3,4.

    To find out the ID's of a widget, click "edit" on the social widgets page and the ID is in the url ie
    wp-admin/options-general.php?page=socialize-this&module=edit_widget&widget=28 < the 28 is the widgets ID.

    Sorry if this is a little poorly explained, as I am a little tight for time right now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Socialize This
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic