Hi! I follow the Linkedin guide. I add it after the what’s app line.
The outcome is not perfect however. The button is blue without the symbol of linkedin and disappeared the what’s app button. But the link is correct
I think this link is not updated. Can you please send me the new updated link?
Thanks in advance
Hello,
The linked in solution provided will not work for the newspaper theme properly. Please add this code instead in td_module_single.php: http://screencast.com/t/nQ0Tj5O1
<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;"><i class="fa fa-linkedin"></i></a>
I added a font awesome linked in icon so you need to install and activate ‘font awesome 4 menus’ and then use this css code in the theme panel – custom css box:
.td-social-linkedin{
margin-left:8px;
background-color:
#006699!important;;
}
Hope this helps.
Thank you!
This worked perfectly for me, thank you so much for sharing it.
Hi,
The whatsapp button will not get overwritten. It only shows on the mobile version. If it disapeared, please check the code again and make sure you did not affect the whatsapp code.
Please retry the method as I have tested it again and works as expected. It does not affect any other social network: http://screencast.com/t/LUU4A55pwoL
As for the bottom sharing, you will find a similar code below that one if you scroll down the file. You can simply paste in the linkedin code there as well.
Thank you!
Why isn’t this standard? You gonna make us do this annoying step anytime we update the theme?!
Hi,
This is not standard at all. It is a customization. Normally the theme does not allow you to add extra social networks in it’s widget. This is a ‘hack’. If you do not want to hack the theme files, you can always use a plugin for the social icons that allows you to add other networks besides the ones the theme provides.
Thank you!
It isn’t standard in your theme. But it should be. It’s a pretty common need and it should be standard.
It shouldn’t been supposed to have to hack this over and over each time we update de theme.
But that’s just my 2 cents.
Good job on the theme, besides this is pretty good.
Hi,
You must look for the change log and the modified files for the new version. If the file is on the list and got modified, you need to re-apply the modification as keeping the old file will break the site. In newspaper 7 and 7.01 the file did not get modified so you can keep the old file. Please check these 2 links for a list of modified files in NP7 and 7.01:
http://tagdiv.com/td_deploy/Newspaper/changed_files_6.6_7.0.html
http://tagdiv.com/td_deploy/Newspaper/changed_files_7.0_7.0.1.html
Thank you!
Hi – Do you have a Linked in button on the Social Counter. Please let me know as my blog is a professional blog with the maximum following on linkedin.
Regards
Nidhi
Hi Bogdan – Thanks for your response. Can we expect a solution to this in the upcoming versions / patches / updates and if so by when?
Thanks
Hi Bogdan,
I try to use your hack, I not sure to have well understanding the method and I’d like to be sure.
Is it supposed to work when copying td_module_single.php modified file in the child theme folder, or we actually must modify the original file ?
Thanks for your answer and sorry for the double explanation.
Hi,
This will work from the child theme so you do not have to edit the original file. What I was mentioning above is that a child theme is not update proof. You still have to replace the file in the child theme if the main theme update will require replacing of the td_module_single.php file. (there is a list of modified files attached to the change log on themeforest for every update so you can inspect what files were changed. If td_module_single.php is on that list, then you need to replace it in the child theme as well and re-apply the modification)
I hope this helps.
Thanks.
Hi,
Well please check the file again as there are 2 sections of code that are identical. Scroll a bit further down and you will see another identical code. One is for the top sharing and one is for the bottom sharing. You could be altering one and checking the other. (I’ve done that a couple of times myself :))
Hope this helps.
Hi
If you’re using mobile theme plugin you need to edit td_module_single_mob.php file and modify the code for sharing buttons: http://screencast.com/t/OQG7Y0Ilf
Thanks!



