3
我想为我的网站上的每个帖子设计一个自定义推文按钮。以下是我现在正在使用的原始Twitter代码,它可以工作。我想用我自己的“设计图像”在后台将其改变为自定义设计。就像npr.org一样。最简单的方法来创建自定义按钮?
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://www.example.com{$story_url}" data-text="{$title_short}" data-count="none">Tweet</a>
{literal}<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>{/literal}
下面的(评论)自定义设计代码的作品,但当我推特它没有标题。如果有人能帮助我,这将是非常棒的。
Twitter的
下面的自定义设计代码的作品,但当我推特它没有标题。如果有人能帮助我,这将是非常棒的。 Twitter –
doomla