Archive for category Uncategorized
How to Add Social Media Links to Your WordPress Sidebar
Posted by Patrick Woods in Uncategorized on
Adding links to your social media assets is a great way to fully integrate your online marketing efforts. In this tutorial I’ll show you how to add a custom widget to the sidebar of your WordPress blog for displaying links tour social media marketing properties.
Uploading your social media icons
- You can find a ton of free social media icons here. Just make sure whichever you choose fits the graphical tone of your blog
- Once you’ve downloaded your icons and determined which you’ll use, navigate to Media -> Add New in your WordPress Admin
- Upload each of your icons, keep track of the “File URL” for each image (we’ll use these later in our HTML)
Creating your social media widget
- Login into your WordPress backend.
- Navigate to Plugins ->Add New and search for “My Custom Widgets” plugin
- The My Custom Widgets plugin will be the first result. Click Install and then click Activate once the install is complete
- You are now ready to add HTML or PHP to your custom template. Navigate to Appearance -> My Custom Widgets
- In the example to the right, I named the custom social media widget “sm_links” (the name won’t matter unless you customize the CSS for your widgets).
- Click on the pencil icon to bring up the editor for adding the HTML
- Add this code:
- Make sure to substitute your content URLs of each icon between the ” ” after src= and change href=”" to the links to your own portfolios
- Once you’re finished, click to icon on the far right to make the widget active
Adding your social media widget to your sidebar
- Navigate to Appearance -> Widgets
- In the list of available widgets, you’ll see your custom widget with the name you added in the previous step
- Now drag your new widget to your desired location on the sidebar, and that’s it!
You now have a custom widget for your WordPress blog that conatains icons and links to your small business’ social media sites.


