Linkedin button doesn't work

Posted in: Newspaper
Post count: 12

Hello guys,
my linkedin button on article pages doesn’t work.
For e.g. I link you one of my article to show the problem:
http://www.militarypedia.it/av-8b-harrier-ii-plus/
scroll to Author section and click on linkedin button. It brings to this site:
http://www.militarypedia.it/av-8b-harrier-ii-plus/it.linkedin.com/in/davideantoniomautone
Instead if you look the footer and click to linkedin button it works.
What’s the problem?

Post count: 23312

Hello Kowak,

In order to add new social sharing buttons in the top or bottom sharing on posts, you will have to edit the theme code a bit. The theme has no settings to add any extra button so it will have to be added through the code. Here are a few examples:
https://forum.tagdiv.com/topic/add-linkedin-sharing-button/
https://forum.tagdiv.com/topic/how-to-add-a-vk-sharing-button-on-your-posts/

Thank you!

Post count: 12

No Catalin, you didn’t catch the problem.
I don’t need to add more buttons, I want to fix the one in author post that doesn’t redirect correctly to my linkedin page. Instead the button on footer works well cause it redirects correctly to my linkedin page.

Post count: 22421

Hi,

That is because you did not specify the full url to the linked in page including the https:// part. If you do not ad the full url, it will add the site url before. This is the way WordPress works.

Thank you!

Post count: 12

Mh it is specified but it doesn’t work. I’ll upgrade first the theme to the latest version and then I’m going to reply here if the error still exists.

Post count: 12

I checked again my linkedin account and it is with “https://..” and the rest. Each time I click on author post button I get this:
http://www.militarypedia.it/—-article name—–/it.linkedin.com/in/mynameonlinkedin
It’s too strange. On the footer it redirects correctly.

Post count: 22421

Our theme is fully compatible with both http and https. Please use these few resources for a few hints on how to properly set up https:
http://www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-wordpress/
https://css-tricks.com/moving-to-https-on-wordpress/
https://yoast.com/dev-blog/move-website-https-ssl/

You can also check our forum for some insight on ssl:
https://forum.tagdiv.com/topic/moving-to-ssl/

Thank you!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.