Skip to main content

Twitter Buttons

A shortcode wrapper for the Twitter button embeds.


Follow Button

A button to follow a Twitter profile. To display this type of button, set the type parameter to "follow".

Set Handle*

The Twitter handle can be set from the site’s config.toml file or by using the handle parameter.

Size Property*

The size parameter can be set to “default” or “large”.

Show Follower Count

The follower count can be toggled using the hide_followers parameter.

* Note: These parameters also apply to the Mention Button and Hashtag Button types.

Mention Button

A button to tweet to a profile. The profile is set using the handle parameter. This can be omitted if the Twitter handle is specified in config.toml.


Hashtag Button

A button to tweet with a hashtag. The hashtag can be set using the hashtag parameter.

Back to the top