WordPress.org

Plugin Directory

Static Posts for Twitter – Embed x.com Tweets without an iframe

Static Posts for Twitter – Embed x.com Tweets without an iframe

描述

The standard Tweet, or Post (or Xeet?), loads in 500kb of front end JavaScript, tracking cookies, and lots of noise. This plugin avoids all of that by pre-rendering the entire Tweet statically. Say goodbye to bulky Tweets!

https://github.com/KevinBatdorf/wp-xeet

Features

  • Embed a Tweet/Post/Xeet without an iframe
  • Save 500kb of page load
  • No Twitter/X cookies, tracking, JavaScript, etc
  • Static – Twitter/X changes won’t affect your site
  • Dark/light auto mode

Vercel

The Tweets are parsed on a server hosted on Vercel. Using this service, and thus connecting to their servers, you agree to their privacy policy and terms.

NOTE: Your frontend does not rely on any api calls, and if the Vercel api shuts down tomorrow, your site will not be affected in any way.

屏幕截图

  • Screenshot 1

区块

该插件提供了 1 个区块.

  • Static Xeets for Twitter Embed x.com Tweets without an iframe

安装

  1. Activate the plugin through the ‘Plugins’ screen in WordPress

常见问题

Self host the API?

Coming soon, but you will be able to self host the backend API, which requires a basic Node.JS server. Open an issue on GitHub if you are interested in this.

Persist Dark mode?

If you add data-theme="light" (or ‘dark’) anywhere above the block (for example, on the body tag), the block will respect that theme. There is also an override “per block” if needed

评价

2025 年 2 月 14 日 1 回复
At least so far this plugin does a much better job than the default “Twitter” block which can’t even be bothered to rename itself to X. At least Xeet has the X in there. My only slight worry is that there have not been any updates in a while but maybe it has not needed any.
阅读所有1条评价

贡献者及开发者

「Static Posts for Twitter – Embed x.com Tweets without an iframe」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0.2 – 2026-03-27

  • Switch to Biome for linting/formatting
  • Switch to Playwright + WP Playground for testing
  • Update packages
  • Fix input clearing on invalid tweet URL/ID

1.0.1 – 2024-02-19

  • Updates the block.json file with a better title