Post on X Block (formerly Click to Tweet)

The Post on X block in Ultimate Blocks lets you highlight a quote or key takeaway that readers can share on X (formerly Twitter) in one click. This block was called Click to Tweet before; it was renamed after Twitter became X, and it works the same way. The block is free in the Ultimate Blocks plugin, and every setting on this page works without Pro.

Block name in the editorPost on X (searching for Click to Tweet also finds it)
PlanFree
Best forShareable quotes, stats, tips and key takeaways in blog posts, interviews and reports
Live demoSee the Post on X block in action

What you can use it for #

  • Turn a strong quote from an interview into a ready-made post for X.
  • Let readers share a surprising statistic from your research or report.
  • Highlight the key takeaway of a tutorial or opinion piece.
  • Promote an event, launch or offer with a short message readers can repost.
  • Credit your X account in every share with the X Username setting.

How to add the Post on X block #

  1. Open the post or page in the WordPress block editor.
  2. Click the + (Block Inserter) button.
  3. Search for Post on X (or Click to Tweet) and click the block to add it.
  4. Type the message readers will share in the Add Content to Post on X field.
Add Click to Tweet Block

Keep the message short. X adds the link to your page to the post, so leave room for it within the character limit.

Settings tab #

Select the block and open the block sidebar on the right. The Settings tab (gear icon) has a General panel:

  • X Username: your X handle, for example @yourbrand. X adds “via @yourbrand” to the shared post, so every share credits your account. Only letters, numbers and underscores are used, up to 15 characters, which matches X username rules.
Add Twitter Name and Customize the Font Size

Styles tab #

Switch to the Styles tab (half-circle icon) to change the look of the block:

  • General: Font Size of the message, from 10 to 200. The default is 20.
  • Colors: open Color Scheme to set the Tweet Color (the message text) and the Border Color of the box.
  • Dimension Settings: Padding and Margin around the block.
Colorize the Click to Tweet Block

To reuse a design on another Post on X block, use Copy Style and Paste Style in the block toolbar.

How it works for your readers #

  1. On the live page, the block shows your message in a box with a Post On X link and the X logo.
  2. When a reader clicks the link, X opens in a new tab with a new post already filled in: your message, a link to your page and “via” your username if you set one.
  3. The reader can edit the text and then click the post button on X to share it.
Preview the Click to Tweet Block
Share Embedded Tweet

Extensions you can use with this block #

Frequently asked questions #

What happened to the Click to Tweet block?

Is the Post on X block free?

Does the shared post include a link to my page?

How do I add my X username to the shared post?

Do readers need an X account to share?

Related docs #

Updated on November 7, 2026

What are your feelings

  • Happy
  • Normal
  • Sad