Plugin nebyl testován na 3 nejnovějších verzích WordPressu. Nemusí už být tedy podporován a u novějších verzí WordPressu může mít problémy s kompatibilitou a může být nestabilní.

Social Icons Widget


The Social Media Icons widget takes a simple, extendable approach to displaying links to your social media profiles in WordPress. The purpose of this plugin was to strip away the complexities I found most other plugins to have and simply display a set of basic social icons in an unordered list. There’s no frills and no fanciness, making it easy to style to your website’s look.


Default icons are from the Simple Icons set created by Dan Leech.

Envelope designed by Cy Me from the Noun Project

Snímky obrazovky

  • Some examples of how the plugin displays by default in its various settings available via the widget.
  • Widget settings via the Appearance > Widgets screen.


Download the zip file and upload to your WordPress installation. Upon activation, widget is available under Appearance > Widgets. Drag the widget into your sidebar, adjust the settings, and populate the profiles you wish to show on your website.

Nejčastější dotazy

Custom Icons

Custom icons are easy to add. To enable them, select „Custom“ from the Icon Type dropdown in the widget settings. In the directory of your active theme, create a folder titled ‚social_icons‘. Within that directory, add folders titled ‚small‘, ‚medium‘, and ‚large‘ for each icon size you wish to use. Add your icons in .gif, .jpg, .jpeg, or .png format, following the naming format used for the default set of icons.


Developers can easily add more social media websites by creating a filter in the active theme’s functions.php file like such:

function add_new_icons($icon_list) {
    $icon_list['Full Website Name'] = 'full-website-id';

    return $icon_list;
add_filter('social_icon_accounts', 'add_new_icons');

The full-website-id should reflect the name of the image you create in each of the icon folder sizes, or in your custom icon directory. It is also used to populate the class field of the icon when the widget displays. The Social Icon Widget looks for .gif, .jpg, .jpeg, and .png in order and returns the first extention it finds.

Altering Widget Output

Output of each icon can be adjusted with the social_icon_output filter:

function social_icons_html_output($format) {
    $format = '<li class="%1$s"><a href="%2$s" target="_blank">%3$s%4$s</a></li>';
    return $format;
add_filter('social_icon_output', 'social_icons_html_output');

The opening and closing unordered list tags can be edited or changed with the social_icon_opening_tag and social_icon_closing_tag filters:

function social_icons_change_opening($opening) {
    $opening = '<ul class="'.$ul_class.'">';
    return $opening;
add_filter('social_icon_opening_tag', 'social_icons_change_opening');

function social_icons_change_closing($closing) {
    $closing = '</ul>';
    return $closing;
add_filter('social_icon_closing_tag', 'social_icons_change_closing');


2. 1. 2017
Perfect. My only request is to add an icon for AVVO. Thanks.
3. 9. 2016
'The purpose of this plugin was to strip away the complexities I found most other plugins to have and simply display a set of basic social icons in an unordered list. There's no frills and no fanciness, making it easy to style to your website's look.' The plugin's descripton says it all. Fantastic work and a staple on my website.
3. 9. 2016
Very simple and straight to use. With a little styling, it worked perfect.
3. 9. 2016
This is a neat little plug in and it does the job. My only issue is that all the profiles are in alphabeitcal order. So you can't re-arrange your links. For instace, for me, the profiles I am displaying are : Instagram LinkedIn Pinterest Twitter And I have to display them in that order whereas Twitter is where I have the most activity. And Instagram is actually where I have the least. Small detail, but big difference.
Přečtěte si všech 14 recenzí


Social Icons Widget je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.


Přehled změn


  • Updated some social icons to their newer logos


  • Removed all of the floats in favor of display:inline-block instead
  • Style now queues above theme’s style.css in most themes


  • Fix error with WPML where changing languages broke the icon path


  • Replaced http:// in unused input boxes with placeholder attribute instead
  • Added CSS for icons in widget settings
  • Updated the way icon path for custom icons is generated to stop conflicts with multilingual plugins


  • Fixed Undefined index errors
  • Removed Technorati profile field
  • Added dailymotion and Twitch profile fields


  • Added Soundcloud to default list of services
  • Implemented slash fix for those running the plugin on XAMMP/Windows (Thanks VictoriousK)


  • Added prefixes to PHP variables to prevent conflicts with other plugins


  • Added 500px, Codepen, Envato, Kickstarter, Speaker Deck, Vine
  • Removed Forrst
  • Added ability to filter opening, closing tags and HTML for icon output
  • Added target=“_blank“ for links to open in a new window by default


  • Fixed broken image links when WordPress is installed under a directory


  • Added new options for, Email, GitHub, Medium, and WordPress profile links
  • Updated all icons to Simple Icons set


  • Removed @getimagesize function for compatibility purposes
  • New accounts are now added via WordPress filter rather than editing core plugin code


  • Fixed image and CSS paths


  • Initial commit


  • Initial commit