Twitter offers an official twitter widget which you can use to create twitter buttons in WordPress.
You get 4 options to choose from once you arrive at the Twitter Resources page.
Once you’ve created you button, simply copy and paste the code into WordPress HTML editor, save the changes and you’re done.
You can insert the button at the beginning or end of all posts by using WordPress Hooks.
Follow @brad_dalton
Javascript or iframe Twitter Button?
Javascript configuration options - You can also customize the twitter button to include or exclude:User to follow | (in the anchor URL) |
Followers count display | data-show-count |
Language | data-lang |
Width | data-width |
Alignment | data-align |
Show Screen Name | data-show-screen-name |
Size | data-size |
User to follow | screen_name |
Followers count display | show_count |
Language | lang |
Size | Not Supported |
Width | Not Supported |
Alignment | Not Supported |
Show Screen Name | show_screen_name |
Was This Tutorial Helpful?