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='&quot;http://twitter.com/share?url=&quot; + 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='&quot;http://twitter.com/share?url=&quot; + data:post.url + &quot;&amp;text=&quot; + data:post.title' target='_blank'> 

Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -