开发者 | Saintsal |
---|---|
更新时间 | 2012年7月8日 21:28 |
捐献地址: | 去捐款 |
PHP版本: | 3.3.1 及以上 |
WordPress版本: | 3.4.1 |
tweetable-text
directory to the /wp-content/plugins/
directoryLet's say you have this as your post:
Hello world! This is an exciting blog! I will share stuff with you.
You can make a sentence tweetable by adding the [tweetable] shortcode around any sentence you want, like this:
Hello world! [tweetable]This is an exciting blog![/tweetable] I will share stuff with you.
Now, the sentence "This is an exciting blog!" will be a special link. If the reader clicks it, they'll load a window confirming the tweet (and allowing them to edit it.) If they hover over the link, a Tweet and Buffer button will pop up over it.
Yes, like this:
[tweetable hashtags="#foo #bar"]This text is tweetable![/tweetable]
Now the tweet will be "This text is tweetable! #foo #bar"
Yes, you need to create a css override for the style like this:
.tweetable a { //Your new style for tweetable links }