{"id":14803,"date":"2011-09-08T08:02:13","date_gmt":"2011-09-08T08:02:13","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/simple-twitter-plugin\/"},"modified":"2026-05-02T18:41:48","modified_gmt":"2026-05-02T18:41:48","slug":"simple-twitter-plugin","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/simple-twitter-plugin\/","author":9007740,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0.0","stable_tag":"2.0","tested":"6.9.4","requires":"5.8","requires_php":"7.2","requires_plugins":null,"header_name":"Simple X Buttons","header_author":"topdevs.net","header_description":"","assets_banners_color":"111314","last_updated":"2026-05-02 18:41:48","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/topdevs.net\/simple-x-buttons\/","header_author_uri":"https:\/\/topdevs.net","rating":5,"author_block_rating":0,"active_installs":80,"downloads":10530,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"fornyhucker","date":"2012-06-23 14:38:11"},"1.2":{"tag":"1.2","author":"topdevs","date":"2026-05-02 18:26:52"},"2.0":{"tag":"2.0","author":"topdevs","date":"2026-05-02 18:41:48"}},"upgrade_notice":{"2.0.0":"<p>Complete rewrite. The old Twitter Timeline widget and API-based buttons are gone. Install fresh \u2014 no migration from v1.x settings.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3521068,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3521068,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3521068,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3521068,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"simple-x-buttons\/hashtag":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":2,"name":"simple-x-buttons\/hashtag","version":"2.0.0","title":"X Hashtag Button","category":"widgets","icon":"tag","description":"Let visitors tweet with a pre-filled hashtag. No API key required.","keywords":["x","twitter","hashtag","tweet","social"],"textdomain":"simple-x-buttons","supports":{"html":false},"attributes":{"tag":{"type":"string","default":""},"label":{"type":"string","default":""},"style":{"type":"string","default":""}},"editorScript":"sxb-block-editor","editorStyle":"sxb-block-editor-style","style":"sxb-frontend"},"simple-x-buttons\/follow":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":2,"name":"simple-x-buttons\/follow","version":"2.0.0","title":"X Follow Button","category":"widgets","icon":"admin-users","description":"Add a Follow button that opens the X follow intent. No API key required.","keywords":["x","twitter","follow","social"],"textdomain":"simple-x-buttons","supports":{"html":false},"attributes":{"type":{"type":"string","default":"follow"},"handle":{"type":"string","default":""},"label":{"type":"string","default":""},"style":{"type":"string","default":""}},"editorScript":"sxb-block-editor","editorStyle":"sxb-block-editor-style","style":"sxb-frontend"},"simple-x-buttons\/share":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":2,"name":"simple-x-buttons\/share","version":"2.0.0","title":"X Share Button","category":"widgets","icon":"share","description":"Share the current post on X with a single click. No API key required.","keywords":["x","twitter","share","social","tweet"],"textdomain":"simple-x-buttons","supports":{"html":false},"attributes":{"label":{"type":"string","default":""},"style":{"type":"string","default":""},"hashtags":{"type":"string","default":""},"via":{"type":"string","default":""}},"editorScript":"sxb-block-editor","editorStyle":"sxb-block-editor-style","style":"sxb-frontend"},"simple-x-buttons\/mention":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":2,"name":"simple-x-buttons\/mention","version":"2.0.0","title":"X Mention Button","category":"widgets","icon":"admin-comments","description":"Let visitors tweet to a specific X handle with one click. No API key required.","keywords":["x","twitter","mention","tweet","social"],"textdomain":"simple-x-buttons","supports":{"html":false},"attributes":{"type":{"type":"string","default":"mention"},"handle":{"type":"string","default":""},"label":{"type":"string","default":""},"style":{"type":"string","default":""}},"editorScript":"sxb-block-editor","editorStyle":"sxb-block-editor-style","style":"sxb-frontend"}},"tagged_versions":["1.0.1","1.2","2.0"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":3521072,"resolution":"2","location":"plugin","width":1055,"height":679},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3521072,"resolution":"4","location":"plugin","width":1249,"height":857},"screenshot-1.png":{"filename":"screenshot-1.png","revision":3521072,"resolution":"1","location":"plugin","width":1208,"height":816},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3521072,"resolution":"3","location":"plugin","width":1189,"height":771}},"screenshots":{"1":"Buttons added after post content","2":"Share on X popup example","3":"Gutenberg block editor \u2014 all four blocks","4":"Settings page \u2014 Placements section","5":"Settings page \u2014 button configuration sections"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2037,138,174,159,11061],"plugin_category":[43,56],"plugin_contributors":[78842],"plugin_business_model":[],"class_list":["post-14803","plugin","type-plugin","status-publish","hentry","plugin_tags-follow","plugin_tags-share","plugin_tags-social","plugin_tags-twitter","plugin_tags-x","plugin_category-customization","plugin_category-social-and-sharing","plugin_contributors-topdevs","plugin_committers-illiaonline","plugin_committers-topdevs"],"banners":{"banner":"https:\/\/ps.w.org\/simple-twitter-plugin\/assets\/banner-772x250.png?rev=3521068","banner_2x":"https:\/\/ps.w.org\/simple-twitter-plugin\/assets\/banner-1544x500.png?rev=3521068","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/simple-twitter-plugin\/assets\/icon-128x128.png?rev=3521068","icon_2x":"https:\/\/ps.w.org\/simple-twitter-plugin\/assets\/icon-256x256.png?rev=3521068","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/simple-twitter-plugin\/trunk\/screenshot-1.png?rev=3521072","caption":"Buttons added after post content"},{"src":"https:\/\/ps.w.org\/simple-twitter-plugin\/trunk\/screenshot-2.png?rev=3521072","caption":"Share on X popup example"},{"src":"https:\/\/ps.w.org\/simple-twitter-plugin\/trunk\/screenshot-3.png?rev=3521072","caption":"Gutenberg block editor \u2014 all four blocks"},{"src":"https:\/\/ps.w.org\/simple-twitter-plugin\/trunk\/screenshot-4.png?rev=3521072","caption":"Settings page \u2014 Placements section"}],"raw_content":"<!--section=description-->\n<p><strong>Simple X Buttons<\/strong> adds X (Twitter) buttons to your WordPress posts and pages \u2014 the right way.<\/p>\n\n<h4>Why not use X's official embed buttons?<\/h4>\n\n<p>X's embed infrastructure (<code>platform.twitter.com\/widgets.js<\/code>) has been unreliable since 2023, hitting HTTP 429 rate limits at scale and causing embeds to fail silently or load slowly. X has not committed to fixing this.<\/p>\n\n<p>This plugin takes a different approach entirely.<\/p>\n\n<h4>What are X Web Intents?<\/h4>\n\n<p>Web Intents are plain URLs provided by X for sharing, following, mentioning, and more. They open a lightweight native X popup \u2014 no JavaScript SDK, no third-party cookies, no external scripts loaded on page load. You click, a popup opens, done.<\/p>\n\n<p>That means:<\/p>\n\n<ul>\n<li><strong>No API key required<\/strong> \u2014 zero setup friction<\/li>\n<li><strong>No external scripts<\/strong> \u2014 nothing loads until the user clicks<\/li>\n<li><strong>No rate limits<\/strong> \u2014 static URLs, no API calls<\/li>\n<li><strong>GDPR-friendly<\/strong> \u2014 no cookies or tracking on page load<\/li>\n<li><strong>Fast<\/strong> \u2014 the plugin CSS is ~1 KB, loaded only when a button is on the page<\/li>\n<\/ul>\n\n<h4>Four button types<\/h4>\n\n<ul>\n<li><strong>Share<\/strong> \u2014 opens X compose pre-filled with the post title, permalink, hashtags, and via handle<\/li>\n<li><strong>Follow<\/strong> \u2014 opens X's native follow dialog for your account<\/li>\n<li><strong>Mention<\/strong> \u2014 opens X compose pre-filled with @yourhandle so visitors can tweet at you<\/li>\n<li><strong>Hashtag<\/strong> \u2014 opens X compose pre-filled with #yourtag; optionally pulls in the post's own tags automatically<\/li>\n<\/ul>\n\n<h4>Features<\/h4>\n\n<ul>\n<li><strong>Auto-insert<\/strong> before and\/or after post content \u2014 choose which buttons and which post types per placement<\/li>\n<li><strong>Per-placement button control<\/strong> \u2014 show Share on all posts, Follow only on certain post types, etc.<\/li>\n<li><strong>Post tags as hashtags<\/strong> \u2014 Share and Hashtag buttons can automatically pull the post's tags (capped at 5 to keep tweets writable)<\/li>\n<li><strong>4 Gutenberg blocks<\/strong> \u2014 X Share, Follow, Mention, and Hashtag blocks with live editor previews<\/li>\n<li><strong>4 Shortcodes<\/strong> \u2014 <code>[sxb-share]<\/code>, <code>[sxb-follow]<\/code>, <code>[sxb-mention]<\/code>, <code>[sxb-hashtag]<\/code><\/li>\n<li><strong>Template tags<\/strong> \u2014 <code>sxb_share_button()<\/code> and <code>sxb_button_bar()<\/code> for theme developers<\/li>\n<li><strong>Three button styles<\/strong> \u2014 Dark, Outline, Ghost<\/li>\n<li><strong>Popup or new-tab<\/strong> intent window<\/li>\n<\/ul>\n\n<h4>Integration<\/h4>\n\n<p>Four ways to add buttons to your site:<\/p>\n\n<ol>\n<li><strong>Auto-insert<\/strong> (recommended): Enable a placement in Settings \u2192 Simple X Buttons. Buttons appear automatically on every matching post type.<\/li>\n<li><strong>Shortcode<\/strong>: <code>[sxb-share]<\/code>, <code>[sxb-follow handle=\"yourhandle\"]<\/code>, <code>[sxb-mention handle=\"yourhandle\"]<\/code>, <code>[sxb-hashtag tag=\"travel\"]<\/code> anywhere in content.<\/li>\n<li><strong>Block<\/strong>: Search for \"X Share Button\", \"X Follow Button\", \"X Mention Button\", or \"X Hashtag Button\" in the Gutenberg block inserter.<\/li>\n<li><strong>Template tag<\/strong>: <code>&lt;?php sxb_share_button(); ?&gt;<\/code> or <code>&lt;?php sxb_button_bar(); ?&gt;<\/code> in theme templates.<\/li>\n<\/ol>\n\n<h4>Compatibility<\/h4>\n\n<ul>\n<li>WordPress 5.8 or higher<\/li>\n<li>PHP 7.2 or higher<\/li>\n<li>No API key required<\/li>\n<li>No external JavaScript loaded on page load<\/li>\n<li>Works with any theme<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>simple-x-buttons<\/code> folder to <code>\/wp-content\/plugins\/<\/code><\/li>\n<li>Activate the plugin in <strong>Plugins \u2192 Installed Plugins<\/strong><\/li>\n<li>Go to <strong>Settings \u2192 Simple X Buttons<\/strong><\/li>\n<li>Enable a placement and choose which buttons to show<\/li>\n<li>Configure each button type (handle, hashtag, label) in the sections below<\/li>\n<li>That's it<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20load%20twitter%2Fx%20scripts%20on%20my%20pages%3F\"><h3>Does this load Twitter\/X scripts on my pages?<\/h3><\/dt>\n<dd><p>No. The plugin loads only its own ~1 KB stylesheet, and only on pages where a button appears. No external scripts are loaded at any point unless a user clicks a button and the intent popup opens.<\/p><\/dd>\n<dt id=\"does%20this%20need%20an%20api%20key%3F\"><h3>Does this need an API key?<\/h3><\/dt>\n<dd><p>No. X Web Intents are plain URLs \u2014 no authentication, no app registration required.<\/p><\/dd>\n<dt id=\"why%20not%20use%20x%27s%20official%20follow%2Fshare%20buttons%3F\"><h3>Why not use X's official follow\/share buttons?<\/h3><\/dt>\n<dd><p>X's <code>widgets.js<\/code> SDK has been intermittently rate-limited since 2023, causing buttons to fail to render or show HTTP 429 errors. Web Intents are unaffected because they are static URLs, not API calls.<\/p><\/dd>\n<dt id=\"is%20this%20gdpr-friendly%3F\"><h3>Is this GDPR-friendly?<\/h3><\/dt>\n<dd><p>Yes. No external scripts, cookies, or tracking occur on page load. X's servers are only contacted when a user actively clicks a button and the intent popup opens \u2014 the same as clicking any external link.<\/p><\/dd>\n<dt id=\"what%20is%20the%20difference%20between%20%22popup%22%20and%20%22new%20tab%22%20intent%20window%3F\"><h3>What is the difference between \"Popup\" and \"New Tab\" intent window?<\/h3><\/dt>\n<dd><p>Popup opens a small 600\u00d7360 window centered on the screen \u2014 the standard X intent experience. New Tab opens the intent URL in a new browser tab. If JavaScript is disabled, popup falls back gracefully to a new tab.<\/p><\/dd>\n<dt id=\"can%20i%20add%20buttons%20to%20custom%20post%20types%3F\"><h3>Can I add buttons to custom post types?<\/h3><\/dt>\n<dd><p>Yes. In the Placements section you can enable any public post type registered on your site, per placement.<\/p><\/dd>\n<dt id=\"why%20is%20the%20hashtag%20button%20label%20just%20%22tweet%22%20when%20post%20tags%20are%20enabled%3F\"><h3>Why is the Hashtag button label just \"Tweet\" when post tags are enabled?<\/h3><\/dt>\n<dd><p>When multiple tags are merged (e.g. #travel, #wordpress, #seo), displaying all of them in the button label would look cluttered. The label falls back to \"Tweet\" so the button stays clean regardless of how many tags the post has.<\/p><\/dd>\n<dt id=\"does%20this%20work%20with%20page%20builders%3F\"><h3>Does this work with page builders?<\/h3><\/dt>\n<dd><p>Shortcodes work in any context that processes WordPress shortcodes. The Gutenberg blocks work in the block editor. For Elementor, Bricks, or other builders, use the shortcode widget.<\/p><\/dd>\n<dt id=\"can%20i%20change%20the%20hashtag%20limit%3F\"><h3>Can I change the hashtag limit?<\/h3><\/dt>\n<dd><p>Yes. The default cap is 5 post tags. Developers can adjust it with:\n    add_filter( 'sxb_hashtag_limit', fn() =&gt; 3 );<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Complete rewrite \u2014 X Web Intents architecture, no API dependencies<\/li>\n<li>Four button types: Share, Follow, Mention, Hashtag<\/li>\n<li>Four Gutenberg blocks with live editor previews<\/li>\n<li>Four shortcodes: [sxb-share], [sxb-follow], [sxb-mention], [sxb-hashtag]<\/li>\n<li>Per-placement button selection (choose which buttons appear before\/after content)<\/li>\n<li>Post tags as hashtags for Share and Hashtag buttons (capped at 5)<\/li>\n<li>Three button styles: Dark, Outline, Ghost<\/li>\n<li>Popup or new-tab intent window<\/li>\n<li>GDPR-friendly: zero cookies or external scripts on page load<\/li>\n<\/ul>","raw_excerpt":"Add X (Twitter) share, follow, mention, and hashtag buttons to your WordPress site. No API key, no external scripts, no rate limits. Pure Web Intents.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/14803","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=14803"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/topdevs"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=14803"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=14803"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=14803"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=14803"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=14803"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=14803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}