Adding sharing links at modlost.net

- 1 min

image

Getting up early is not one of my favorites activities but somedays you just get up at 3:00 am and can’t sleep, I could assume that an internal bug in my sleeping program threw an exception! What ever, it’s good to have a list of things to do when it happens (GTD).

The task: “Adding sharing links at modlost.net” was in my someday list for a long time ago, so I decided to hack a little bit about that. It was too early in the morning and I had a lot of time.

I started with a quite simple search in the web and I found Jetpack by WordPress. It’s an interesting project/business idea with some free (sharing, gravatar, short links, etc.) and paid (coming soon) features and I already had it installed because WordPress Stats new updates will be bundle in Jetpack so it was the obvious option to take.

Sadly, Jetpack doesn’t support Google+ out-of-the-box and its “new service” feature didn’t fit very well when you use it in index pages. So I had to check the source code and modify it to allow links to share in Google+, Twitter and Facebook at the bottom of every post, page and index page.

image

It will need more work to align better all the bottoms so after fixing that I’m going to share the patch.

image

Happy hacking!!!

Abner Ballardo

Abner Ballardo

In permanent beta: learning, adapting and evolving

rss facebook twitter github gitlab youtube mail spotify lastfm instagram linkedin google google-plus pinterest medium vimeo stackoverflow reddit quora quora