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>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: