Social Tools

Twitter

Twitter is a service for exchanging brief messages, commonly called tweets, between users. There are several ways to integrate WordPress.com and Twitter, including:

  1. Taking content from WordPress.com and publishing it as a single tweet on Twitter.
  2. Taking an entire post from WordPress.com and publishing it in its entirety as a Twitter thread, also known as a tweetstorm.
  3. Embedding individual tweets on your website.
  4. Pulling all of the content from single tweets or entire Twitter threads, called tweetstorms, and publishing to your website.

Table of Contents

Share to Twitter

Connect Your Twitter Account

Auto-sharing your posts to Twitter is an excellent way to get more traffic to your blog by automatically tweeting a link to each new post you write.

  1. Go to Tools → MarketingConnections.
  2. Click the Connect button next to Twitter. 
  3. You’ll be taken to Twitter, where you’ll be asked to approve the connection between your WordPress.com site and your Twitter account. Click Authorize app to continue.
  4. If you have more than one Twitter handle managed through the same Twitter login, you may be prompted to select the account you want to connect to.
  5. Once Twitter is connected, you’ll see a message that “The Twitter account was successfully connected.”
Success message that says "The Twitter account was successfully connected."
The authorization screen Twitter displays asking for your permission to "Authorize app" for WordPress.com.
Share a Post

After you set up your Twitter connection, any new post you create will automatically be shared with your Twitter account. You can choose between a Single Tweet or a Twitter Thread under the Publish settings.

Single Tweet – will share a link to your blog post

Twitter Thread – will create a tweetstorm of the entire content of your blog post, including media

You can also add a unique message to be included in your tweet (or other social networks) before you publish your blog post.

  1. Click the Jetpack icon next to the Publish button in the Editor.
  2. Under Share this post add a custom message and select Single Tweet or Twitter Thread
The Jetpack sidebar open displaying the Share this post section with options to customize your message and choose a single tweet or twitter thread.

💡

Don’t want to share a specific post on Twitter? Click the toggle next to your Twitter handle to disable sharing for just that specific post.

↑ Table of Contents ↑

Embed a Tweet

Use the Twitter block to embed a tweet onto any page or post of your site like so:

↑ Table of Contents ↑

Pull Content from Single Tweets or Tweetstorms

You can also use the Twitter block to “unroll” content from a single tweet or Twitter thread, also known as a tweetstorm. The text and media will be pulled into your page or post in draft form. After that, you can remove or add as much content in and around it as you’d like, especially since WordPress.com has no character limits.

The block toolbar for the Twitter block with a box drawn around the Unroll option.

↑ Table of Contents ↑

Add a Twitter Feed

Using the Twitter block, you can display your latest tweets in your site’s sidebar or footer. If you have a Site Editor-enabled theme, you can add the Twitter block through Appearance → Site Editor, and if you’re using one of our classic themes, you’ll see Appearance → Widgets.

↑ Table of Contents ↑

Add a Twitter Sharing Button

You can add a Twitter sharing button to your posts or pages. This will allow visitors to your site to share a link to the post or page as a tweet from their account.

Go to Tools → Marketing → Sharing Buttons. Click on Edit Sharing Buttons and enable the sharing options you want, including Twitter.

Read more about this in our Sharing guide.

wordpress-sharing-buttons

↑ Table of Contents ↑

Add a Twitter Follow Button

You can encourage visitors to follow you on Twitter by adding a Twitter Follow Button to posts, pages, or a text widget.

You can copy and paste one of the following shortcodes into a post, page, or text widget. If you’re using the new WordPress editor, you can use the Shortcode block to insert the shortcode into your post or page.

⚠️

If your site has a custom theme uploaded or a plugin installed, the following shortcodes won’t work. Please open this tool, enter your Twitter profile link, choose any option, copy the embed code, and then use the Custom HTML block or on your post or page editor.

Be sure to use your own Twitter username in place of wordpressdotcom in the following shortcodes.

There are several ways to customize your Twitter Follow Button. You can:

Display a Follow Button and a link to your Twitter page:


[twitter-follow screen_name='wordpressdotcom']

Only display a Follow Button:


[twitter-follow screen_name='wordpressdotcom' show_screen_name='no']

Display a link to your Twitter page and a count of your Twitter followers:


[twitter-follow screen_name='wordpressdotcom' show_count='yes']

You can use as many or as few of these options as you want!

Note that the Twitter Follow Button also appears on Tweets embedded with the Twitter block.

↑ Table of Contents ↑

Troubleshooting

If you share your site to Twitter, but your site icon and title don’t appear in your tweets, you can enter your URL into Twitter’s validator tool: https://cards-dev.twitter.com/validator

Once you do, click the Preview Card button, and that should make your tweets display correctly.

Not quite what you're looking for?

Get Help