This plugin registers a Click To Tweet block.
You can find the block in the Text category, or by typing the keywords /click or /tweet in a new block in the editor.
The block enables you to:
- Choose from 6 different styles to quickly get started
- Customize the text to display and tweet
- Customize the call to action prompt.
- Customize the text color and background color (you can even use gradients!).
The plugin offers basic integration with the popular SEO plugin Yoast SEO, and uses the post author Twitter handle by default, or the site’s Twitter handle if author handle is not provided.
The block offers a few additional features in the block inspector to further customize it:
- You can override the URL you want to share. By default, it uses the current post or page URL.
- You can override the Twitter handle used in the tweet. By default, it uses Yoast SEO’s author Twitter handle, or site’s handle.
- You can add hashtags to the tweet. Just provide them as you would if you were typing a tweet on the Twitter site or app.
- You can display the call to action as a link or button, and choose whether to display text only, icon only, or both.
Modern Plugins is a new brand founded by WPMarmite, the WordPress blog where you can find in-depth WordPress tutorials and reviews to help beginners build their website.
這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。
- Modern CTT Adds a beautiful (and customizable) Click to Tweet block to maximize content sharing on Twitter.
You can install Modern CTT, just as you would any other plugin.
- Upload the plugin files to the
/wp-content/plugins/modern-cttdirectory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress
- Initial Release
- Fixed default style. Added URL field