Add social icons ( Google plus , Instagram, Facebook, Twitter and Pinterest) in sidebar widget in wordpress


Few days before, one of my client asked me to add social icons (facebook, twitter,google plus, Instagram and pinterest) in the sidebar widget section. I helped him to add it. Here is the code I used to add the social icons using text widget in the sidebar. Just replace the URL with your one.
If you face any issue feel free to contact me in the comments section.

<style>
span.social br {
    display: none !important;
}
</style>
<span class="social"><a href="YOUR FACEBOOK URL">
<img src="https://allaboutbasic.files.wordpress.com/2018/02/fb.jpg" />
</a>
<a href="YOUR INSTAGRAM URL">
<img src="https://allaboutbasic.files.wordpress.com/2018/02/instagram.jpg" />
</a>
<a href="YOUR TWITTER URL">
<img src="https://allaboutbasic.files.wordpress.com/2018/02/twitter.jpg" />
</a>
<a href="YOUR PINTEREST URL">
<img src="https://allaboutbasic.files.wordpress.com/2018/02/pinterest.jpg" />
</a>
<a href="YOUR Google Plus URL">
<img src="https://allaboutbasic.files.wordpress.com/2018/02/gplus.jpg" />
</a>
</span>

%d bloggers like this: