Blog sharing buttons help

Read the FAQ in here first then post your questions here if it doesn't help you.
Post Reply
User avatar
Keiko1981
Administrator
Administrator
Posts: 7564
Joined: Apr 9th, '06, 11:27
Location: Sweden
Has thanked: 5 times
Been thanked: 82 times
Contact:
Sweden

Blog sharing buttons help

Post by Keiko1981 » May 9th, '14, 13:52

Edit I think I solved it myself. :)

I'm trying to add social media sharing buttons to my blog. I've been able add some. But I have problem with the following.

I want buttons to appear on the main page on the blog. And if someone, let's say make a tweet. the URL in the tweet is the specific post, not the main page of the blog.

I am supposed add

Code: Select all

[#post-url]
and

Code: Select all

[#post-title]
somewhere in the text below, but I don't know where.

This code just leads to the main blog

Code: Select all

<a>Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests