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 editor | Post on X (searching for Click to Tweet also finds it) |
| Plan | Free |
| Best for | Shareable quotes, stats, tips and key takeaways in blog posts, interviews and reports |
| Live demo | See 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 #
- Open the post or page in the WordPress block editor.
- Click the + (Block Inserter) button.
- Search for Post on X (or Click to Tweet) and click the block to add it.
- Type the message readers will share in the Add Content to Post on X field.

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.

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.

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 #
- On the live page, the block shows your message in a box with a Post On X link and the X logo.
- 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.
- The reader can edit the text and then click the post button on X to share it.


Extensions you can use with this block #
- Visibility Control (Pro): show the block only to certain users or on a schedule.
- Animation (Pro): animate the block when it comes into view.
- Responsive Control: hide the block on desktop, tablet or mobile.
- Custom CSS: add your own CSS to this block only.
- Saved Styles (Pro): save your design and reuse it on other posts.
Frequently asked questions #
What happened to the Click to Tweet block?
It was renamed to Post on X after Twitter became X. It is the same block with the same settings, and Click to Tweet blocks already on your site keep working.
Is the Post on X block free?
Yes. The Post on X block and all its settings are included in the free Ultimate Blocks plugin.
Does the shared post include a link to my page?
Yes. The block adds the address of the current page to the post, so people who see it on X can visit your article.
How do I add my X username to the shared post?
Enter your handle in the X Username field in the General panel of the Settings tab. X then adds via and your username to the post.
Do readers need an X account to share?
Yes. X asks readers to log in before they can publish the post.