Lastweets

Display a Twitter account latest tweets via a Gutenberg editor block.

This is a simple plugin that will not load a sh*t-load of CSS. Instead, the bare minimum stylings are done for the custom theme so that anyone can customize it with their site design.
It is very developer friendly and offers a couple of smart filters and actions to modify default logic (see HOOKS.md file).
You can override the custom default theme template to display a tweet by copying the /templates/single_tweet.php file and pasting it in your theme /templates/lastweets-single_tweet.php folder.
This file will be used to display a tweet; customize it the way you want.

Available hooks

…to be continued…

Built with

Authors

After installing and activating the plugin, heads to the Settings > Lastweets options page.
From there, you can define your Twitter app API keys.
Go to https://developer.twitter.com/en/apps to create a Twitter application and retrieve your API keys.

1.0.0 – 2019-01-04

  • First version of the plugin \o/
  1. The plugin options page: it's necessary to define your Twitter app API keys in there!

    The plugin options page: it's necessary to define your Twitter app API keys in there!

  2. The Gutenberg block lets you display tweets on any page.

    The Gutenberg block lets you display tweets on any page.

  3. Tweets displayed on the front-end with custom theme or oEmbed display setting.

    Tweets displayed on the front-end with custom theme or oEmbed display setting.