plugin-icon

TEmbeds

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 6.0.12
此外掛程式已可供下載,並可用於你 系統。