I’ve been meaning to add a share counter to posts on Lawyerist for a while now, and I finally sat down to figure it out. There are plugins for this, of course, but I wanted something fast and simple that I could place and style just the way I want it.
I found lots of information out there, but a lot of it is outdated, incomplete, or just doesn’t work. After some trial and error, I figured out a simple solution that works. Since I couldn’t find a copy-and-paste guide anywhere else, here it is.