Last active
November 19, 2015 22:22
-
-
Save wpperform/fbe354c7c2d0acecc5d7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Parameters: | |
All parameters are optional. | |
alt = The text to tweet, which replaces the text between the opening and closing shortcodes | |
hashtag = A comma separated list of the hashtags to be appended to the tweet WITHOUT THE # | |
link = The link to be included in the tweet, which otherwise defaults to the post's permalink | |
via = Twitter user name to associate with the tweet WITHOUT THE @ | |
Example 1: Basic usage | |
[tweetable]This is truly amazing![/tweetable] | |
Example 2: Link one text, such as a prompt, but tweet another, such as the actual message | |
[tweetable alt="This is truly amazing!"]Tell the world this is truly amazing![/tweetable] | |
Example 3: Link to a URL other than the one where you place the shortcode | |
[tweetable link="https://wpperform.com" hashtag="wordpress,hosting" via="wpperform"]This is truly amazing![/tweetable] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment