- Active installs
- 4k+
- 6 ratings
- 5.0
- Last updated
- 3 months ago
- Version
- 2.3.4
- Tested up to
- WP 7.1.5
About this plugin
Autopost for X (formerly Autoshare for Twitter) automatically shares your posts to X/Twitter as soon as they’re published. Once you hit the Publish button, the plugin sends your post’s title, featured image, and link to X/Twitter, along with a custom message.
Unlike a myriad of other social media, multitool solutions, Autopost for X is built solely for X/Twitter. It focuses on doing one thing and does it well, with the code and interface craftsmanship we apply to every project.
With Autopost for X, developers can further customize nearly everything about the posts, including the image, author, and link, using an extensive set of hooks built into the code. Among its other features, the WordPress plugin:
- Works in both the classic and new block editors.
- Becomes part of the pre-publish checklist step that’s part of the new block editor.
- Posts a high-quality featured image with your post to X/Twitter.
- Counts characters to keep you under the X/Twitter limit.
- Adds a link to the post to X/Twitter in the block editor sidebar.
Disclaimer: TWITTER, TWEET, RETWEET and the Twitter logo are trademarks of Twitter, Inc. or its affiliates.
Plugin Compatibility
Distributor
When using with 10up’s Distributor plugin, posts that are distributed will not be autoposted if they are already posted to X/Twitter from the origin site. Autopost for X tracks posts that have been posted to X/Twitter in post meta to avoid “double posting”. To avoid this behavior, use the dt_blacklisted_meta filter to exclude the ‘autoshare_for_twitter_status’ meta value from being distributed :
add_filter( 'dt_blacklisted_meta', function( $blacklisted_metas ) {
$blacklisted_metas[] = 'autoshare_for_twitter_status';
return $blacklisted_metas;
} )
Developers
Note: Posts and pages are supported by default. Developers can use the autoshare_for_twitter_default_post_types filter to change the default supported post types
Custom post types can now be opted into autopost features like so:
function opt_my_cpt_into_autoshare() {
add_post_type_support( 'my-cpt', 'autoshare-for-twitter' );
}
add_action( 'init', 'opt_my_cpt_into_autoshare' );
In addition, adding support while registering custom post types also works. Post types are automatically set to autopost. Future versions of this plugin could allow this to be set manually.
While the autopost feature can be opted into for post types using the above filter, by default the editor still has to manually enable autopost during the post prepublish flow. The autoshare_for_twitter_enabled_default filter allows autopost to be enabled by default for all posts of a given post type. Editors can still manually uncheck the option during the publishing flow.
Example:
function enable_autoshare_by_default_for_core_post_type( $enabled, $post_type ) {
if ( 'post' === $post_type ) {
return true;
}
return $enabled;
}
add_filter( 'autoshare_for_twitter_enabled_default', 'enable_autoshare_by_default_for_core_post_type', 10, 2 );
Additional technical details can be found in our GitHub repository.
Screenshots
Analytics
Live from WordPress.org, refreshed daily. Last refresh Dec 1, 2026.
- #11 by installs among 26 tracked plugins tagged "Twitter".
- Passes every health check below.
Health checks
Everything a careful site owner looks at before installing.
- Actively maintained Last release 3 months ago
- Tested with current WordPress Tested up to 7.1.5
- Support questions answered 1 of 1 resolved in two months
- Well rated 5.0 stars from 6 ratings
- Latest week
- 386
- Typical week
- 207
- Peak
- 3,644 Week of Jan 27
View as table
| Week | Downloads |
|---|---|
| Week of Nov 24 | 386 |
| Week of Nov 17 | 375 |
| Week of Nov 10 | 298 |
| Week of Nov 3 | 381 |
| Week of Oct 27 | 333 |
| Week of Oct 20 | 609 |
| Week of Oct 13 | 361 |
| Week of Oct 6 | 491 |
| Week of Sep 29 | 413 |
| Week of Sep 22 | 430 |
| Week of Sep 15 | 458 |
| Week of Sep 8 | 482 |
| Week of Sep 1 | 2,477 |
| Week of Aug 25 | 147 |
| Week of Aug 18 | 171 |
| Week of Aug 11 | 167 |
| Week of Aug 4 | 207 |
| Week of Jul 28 | 281 |
| Week of Jul 21 | 193 |
| Week of Jul 14 | 137 |
| Week of Jul 7 | 114 |
| Week of Jun 30 | 152 |
| Week of Jun 23 | 200 |
| Week of Jun 16 | 175 |
| Week of Jun 9 | 182 |
| Week of Jun 2 | 161 |
| Week of May 26 | 174 |
| Week of May 19 | 185 |
| Week of May 12 | 152 |
| Week of May 5 | 192 |
| Week of Apr 28 | 181 |
| Week of Apr 21 | 236 |
| Week of Apr 14 | 195 |
| Week of Apr 7 | 237 |
| Week of Mar 31 | 213 |
| Week of Mar 24 | 206 |
| Week of Mar 17 | 208 |
| Week of Mar 10 | 240 |
| Week of Mar 3 | 267 |
| Week of Feb 24 | 274 |
| Week of Feb 17 | 317 |
| Week of Feb 10 | 388 |
| Week of Feb 3 | 1,924 |
| Week of Jan 27 | 3,644 |
| Week of Jan 20 | 160 |
| Week of Jan 13 | 159 |
| Week of Jan 6 | 187 |
| Week of Dec 30, 2025 | 135 |
| Week of Dec 23, 2025 | 171 |
| Week of Dec 16, 2025 | 145 |
| Week of Dec 9, 2025 | 172 |
| Week of Dec 2, 2025 | 202 |
Reviews
From folks on WPFolks
No reviews from folks yet. Used it? Be the first to say how it went.
Latest on WordPress.org
I really liked it. I hoped it had a help video file for start too. Thanks
The documentation on how to connect it to a free developer account is very clear and accurate. Very welcome to see such nice documentation.
This plugin is working with the new Twitter API changes. What a lifesaver!
Excellent! Thanks
This plugin works incredibly well, including new Twiiter v2 API. Support its really quick, professional, polite, kind and patient. It has being a joy to meet this developer. Thank you!!
