How do I show the title as well as URL on my share button on my blogger blog? -
here code have custom share buttons blogspot blog:
<a expr:href='"http://twitter.com/share?url=" + data:post.url + data:post.title' target='_blank'><span class='share-box2'><i class='fa fa-twitter fa-2x'/><span><font size='3'>share on twittertop</font></span></span></a>
so when click on button on blog new window opens, twitter share box empty, need title of post , url displayed. why not displaying?
separate data-tags , re-read this page.
correct use tweet button in blogger:
<a expr:href='"http://twitter.com/share?url=" + data:post.url + "&text=" + data:post.title' target='_blank'>
Comments
Post a Comment