Add linkedin share button

Permalink Browser Info Environment
My client wants to add the linkedin share button next to the tweet and facebook share buttons, but it isn't a choice. (We are using the original version of ProBlog.) Linkedin has a share code generator that I can add to each individual blog page as an html block, but it ends up on a line by itself below the other share line and tags and categories line. I can't put it in the pb_post master page, b/c the code changes for each blog. Can anyone tell me how to add this function as a global share choice with the tweet and fb buttons? Thanks!

Type: Discussion
Status: New
webadminfl
View Replies:
fieldsyncmobile replied on at Permalink Reply 1 Attachment
fieldsyncmobile
For any of you who want a LinkedIn icon, here is what I did to locate it on my page.

First, I had to find which view.php file I needed to open. In my case it was the view.php in the /ProBlog/problog_list/templates/micro_blog folder.

In this file there is a section where the social media icons are located. I just pasted in the code you'll see in the attachment. I inserted the code under the Facebook code so it appeared third in the list. So in may case, I have to keep the option to show the Facebook icon selected or both of them will go away. Which works for us!

Also, in the Head section of the header.php file for the theme you're using, you'll also need to insert the ShareThis script, which is below:

<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "ur-5b17d655-db39-25d3-cfb3-4926e217f50d", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>

Hope this helps!

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.