Skip to content

Add A Custom Social Icons To WordPress Site (Stack Overflow)

First post on my blog: Add A Custom Social Icons To WordPress Site (Stack Overflow)

I have started my blog by using WordPress with the Author theme.

Looks good!

tuyennta.com-original
tuyennta.com original

Pretty cool with the social reference icons below the avatar!

But, I’m a developer, I need to reference my blog to Stack Overflow forum. It’s sad that this theme does not have a Stack Overflow social icon to choose.

So, I decided to make a custom social icon – stack overflow for my blog. This is how I make it works!

  • Let’s find your functions.php file on your theme folder and edit it.
  • Find the function with name: ct_author_social_icons_output
  • Add below code after the last foreach function:

  • Save your change and check the result now!
tuyennta.com
tuyennta.com

Full code of this function for your reference:

 

Published inInterestingProgrammingWordpress

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *