Social Sharing on Posts

Posted in: Newspaper
Post count: 30

Hi All,

I love the social sharing at the top of the post template is there anyway to add a linkedin share button instead of Pintrest?

Thanks

Josh

Post count: 22421

Hello,
The theme has no option to add a linkedin social button. you will need to edit the files to do it.
Please follow this topic to see how it can be done.
https://forum.tagdiv.com/search/whatsapp/https://forum.tagdiv.com/add-a-new-linkedin-button/
It seems it is a bit dofferent for the newspaper theme so read this one also: https://forum.tagdiv.com/topic/linkedin-button/
I hope it helps.
Thank you!

Post count: 30

Thanks Bogdan,

That helps a lot I just have two issues.

1) The favicon is not appearing

2) I can seem to in line it with the others

http://new.teleread.com/fan-uses-wikipedia-edit-to-sneak-backstage-at-concert/

Post count: 22421

Hello,
Please make sure you followed every step of the example provided. Make sure you did not skip point B. Please check your code because i have tested it on my end and it works as expected. Make sure you copied all of the code from step one as well. Double check your modification as it should work fine if all the steps are followed correctly.
Thank you!

Post count: 30

Hi Bogdan,

That did help,

I added code, replaced images and then added the css but still not have any luck.

Could you have a look

Thanks

Josh

Post count: 22421

Hello,

Please read this topic again and copy over the whole code. A div with the class of th-sp-linkedin is not being created on your end. Are you sure you copied all of the code?
https://forum.tagdiv.com/add-a-new-linkedin-button/


<a class="td-social-sharing-buttons td-social-linkedin" href="http://www.linkedin.com/shareArticle?mini=true&url=' . urlencode(esc_url(get_permalink())) . '&title=' . htmlspecialchars(urlencode(html_entity_decode($this->title, ENT_COMPAT, 'UTF-8')), ENT_COMPAT, 'UTF-8') . '&source=' . urlencode(get_bloginfo('name')) . '" onclick="window.open(this.href, \'mywin\',\'left=50,top=50,width=600,height=350,toolbar=0\'); return false;"><div class="td-sp td-sp-linkedin"></div></a>

Double check it please as you do not have the correct elements at the moment.

Thank you!

  • This reply was modified 10 years by Bogdan B..
Post count: 30
Post count: 30
Post count: 30

View post on imgur.com

Its the same code as you have posted

Post count: 22421

Hi,
Something goes wrong on your end. The code does not get implemented corectly. You are missing the last part of the code. The one that creates the DIV element with the class of td-sp-linkedin.
Look how it is on my end: http://screencast.com/t/L9zckEbbwj and this is how it is on your end: http://screencast.com/t/j9zf2tBCuot.
Please send us an email at contact@tagdiv.com and provide wp-admin and FTP access so we can inspect what it is that is causing this. Also include a link to this topic.
Thank you.

Post count: 30

Thanks for this ill send an email now

Viewing 11 posts - 1 through 11 (of 11 total)
You must be logged in to reply to this topic.