plugin-icon

TEmbeds

作者:Stefan Bohacek·
Embed Tweets without compromising your users' privacy and your site's performance.
版本
1.2.2
最后更新
Aug 10, 2022
TEmbeds

Embed Tweets without compromising your users’ privacy and your site’s performance. This plugin works with the built-in Tweet Gutenberg block by removing Twitter’s script and using Twitter’s API to retrieve the data.

You can optionally provide Twitter API keys to show the number of likes and retweets and load images and other media in Tweets.

Learn more | View source

FAQ and Troubleshooting

Tweets are not loading

Please make sure your API keys are set up correctly and that you’re using the v2 of Twitter’s API. (See the Get Started section.)

I need to run a script after Tweets are processed

You can use the tembeds_tweets_processed event. Using jQuery as an example, you could do the following:

$( document ).on( 'tembeds_tweets_processed', function(){ $( '.twitter-tweet' ).each( function(){ let $tweet = $( this ); // Now you can do something with each Tweet. } ); } );
免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.0.12
这个插件是可用的下载,适用于您的站点。