A widget that shows a user's recent posts from X (formerly Twitter). It can fade the posts in and out one at a time using the jQuery that ships with WordPress, or simply list them. You choose how many posts to show and how long each stays. It is simple, but if you know CSS you can make it look very nice.
Important: reading posts requires an X developer account and an X API plan that allows reading posts. X controls which plans include this and what they cost. See
https://docs.x.com/ for current details.
- Upload the plugin to the
/wp-content/plugins/ directory and activate it.
- Enter your X API Bearer Token (see "Getting a Bearer Token" below) under Settings > WP jTweets.
- Add the "WP jTweets" block in the block editor, or use the shortcode
[jtweets username="aaronreimann" number="3"], or add the "WP jTweets" widget to a sidebar (the widget has its own token field).
Shortcode options: username, number (1-20), theme (card, minimal, outline, compact, original, none, twentytwelve-light, twentytwelve-dark), show_avatar, show_retweets, show_replies, new_window, no_fade (set to 1), time_pause (ms), pixel_height, grow_method (grow-only, resize, no-resize), bg_color, text_color, link_color, meta_color.