Add GitHub Social media icon

Hey guys,
I miss the GitHub icon on social media. What can I do to add it?
Greetings,
vatbub

Hi,

GitHub is not a social media, that’s why it’s not there.

Best Regards,
Csaba

Hi,
GitHub is kind of a social media for developers and many put the link to their GitHub page right next to Facebook and Twitter, so I wouldn’t quite say that.

Anyway, what do I need to do to install the icon myself?
Greetings,
Vatbub

Hi,

Maybe we can change an other social media icon with github, please post a link to your website and use an other social media to add your github profile there and let me know which is that one, so then maybe I can help to replace it’s icon, I am not 100% it’s possible, but it worth a try if you are ok with changing the icon of an other social media to github icon.

Best Regards,
Csaba

Hi Csaba,
I’m not sure if I got you 100% correct but you want me to:

  1. Add my github profile to my website using a different icon (e. g. Google Plus)
  2. And post a link to my homepage here?

If so,

  1. I tried to link to my GitHub profile using the Google Plus Logo but the icon was not displayed until I really linked to my Google Plus page
  2. fokprojects.mo-mar.de

Greetings,
vat

Hi,

Ok, now I see it only shows if you have you Gplus account there, so what you can do is to use this Custom CSS to change the icon of the Gplus to github:

.social-menu-widget a[href*="plus.google.com"]::before {
    content: '\f09b' !Important;
}

and then use this plugin to redirect your google-plus account url to your github: https://wordpress.org/plugins/redirection/

Please add the above CSS to your Child Theme’s style.css or in case you haven’t setup a Child Theme already, then you can also use this plugin to add the CSS to it: https://wordpress.org/plugins/simple-custom-css/ so you will not loose the changes on theme updates.

Please let me know how it works.

Best Regards,
Csaba

Hey Csaba,
everything worked as you described except for one thing:

The Redirection Plugin can (obviously) only redirect urls that point to my site. It cannot redirect a link pointing to Google+. However, Sydney’s social widget can be tricked:
Instead of linking to
https:plus.google.com/…
I link to
/https:plus.google.com/…
which translates to
https:fokprojects.mo-mar.de/https://plus.google.com/
which looks like a Google+ url (which is why it is displayed by the social media widget) while it actually is a relative url to my site which can be redirected by the Redirection plugin.

The only downside of this is that users see that cryptic url when they hover over the GitHub logo instead of a github url. It would be much nicer if you just added the logo officially.

Greetings,
vatbub

Hi,

Great! I’m glad it worked and you’ve found a work-around for the url redirection. Adding the social profile to the theme requires custom coding, with that we can’t help as support, so that’s why I gave you a work-around.

If you need help with anything else, please open a new topic.

Have a nice day!

Best Regards,
Csaba