Adding share link button in Invividual post
-
I’m creating a custom theme and I would like to add share links to individual posts.
First, when building a custom theme is it better to just use a plugin for this or build it into the php file?
If the php file is a viable option, how do you go about creating these links? I think I was doing it correctly for Twitter, but when I tried the same for Facebook it was asking for a url, which I do not have yet because I’m doing this locally at the moment.
I want to do this for Linkedin, Facebook, Twitter and also link that opens an email populating the post.
Any information or direction would be greatly appreciated!
This is the page I was starting to use, but I wanted to ask before I got too far. The Twitter instructions allow you to get your button, but Facebook was asking for a url which surprised me because I through the url would be dynamic depending on the post
- The topic ‘Adding share link button in Invividual post’ is closed to new replies.