This guide will show you how to add a new social icon to the Social Icons widget. In this example we will add a Pinterest icon.
Step 1
Open the file wp-content/themes/storm/includes/widgets/social.php and find this line:
1 | 'audioboo' => 'AudioBoo', |
'audioboo' => 'AudioBoo',
Below it, add this code:
1 | 'pinterest' => 'Pinterest', |
'pinterest' => 'Pinterest',
Save the file and upload it to your site.
Step 2
Choose a 32 x 32 icon for this network, which you will be able to find using a search engine. Make sure the icon is PNG type and give it the filename pinterest.png (the filename without the .png part must match the left-hand string in the code added in Step 1).
Upload the icon to wp-content/themes/storm/images/social-icons/pinterest.png
The widget should now show the option to add a Pinterest URL.