Have you seen those beautiful quote boxes on popular sites which encourage users to tweet? These click to tweet quote boxes are very effective in increasing your site engagement and getting more shares on Twitter. In this article, we will show you how to add click to tweet boxes in your WordPress posts and pages.
Video Tutorial
If you don’t want to watch the video tutorial, then you can continue reading the text version below:
First thing you need to do is install and activate the Better Click To Tweet plugin. For more details, see our step by step guide on how to install a WordPress plugin.
Upon activation, the plugin will add a new menu item labeled ‘Better Click to Tweet’ to your WordPress admin bar. Clicking on it will take you to plugin’s settings page.
On the settings page, first you need to provide your Twitter handle. It will be used inside the tweets like this ‘via @wpbeginner’. This will help you see the conversations and tweets from your Twitter account.
Next, if you want to use the your own custom short URLs, then check the box next to ‘Use short URL’ option.
Don’t forget to click on the save changes button to store your settings.
Adding a Click to Tweet Box in WordPress Posts
Now that you have setup the plugin, you are ready to add click to tweet boxes and quotes to your WordPress posts and pages.
Head over to create a new post or edit an existing one.
The plugin comes with a simple shortcode to add click to tweet boxes anywhere in your posts or pages. Simply add the shortcode like this:
[bctt tweet="Text of the tweet goes here"]
Here is how it would look on your website.
The plugin will automatically add a link back to your post as well as your Twitter handle to the post when a user clicks to tweet.
The shortcode comes with some extra parameters to help you customize the tweet box.
For example, you would notice that the linked ‘click to tweet’ button is not a nofollow link. You can change that to a nofollow link by adding a nofollow attribute to the shortcode like this:
[bctt tweet="Text of the tweet goes here" nofollow"yes"]
You can also change the anchor text of the button by adding prompt parameter to the shortcode like this:
[bctt tweet="Text of the tweet goes here" prompt="tell a friend"]
If for some reason you don’t want to include the post URL or your Twitter handle into the tweet, then the plugin also allows you to do that as well.
You will just need to add your url and via parameters to the shortcode, like this:
[bctt tweet="Text of the tweet goes here" url="no" via="no"]
Changing Appearance of Click to Tweet Box
This plugin actually comes with a premium addon that has more styles that you can use for your click to tweet box.
It also allows you to easily add custom rules using CSS.
Simply connect to your WordPress site using an FTP client and go to /wp-content/plugins/better-click-to-tweet/assets/css/ folder.
Now locate the bcttstyle.css
file and download it to your computer.
Next, you need to go to /wp-content/uploads/ folder on your website and then upload the bcttstyle.css
file from your computer.
You can now edit this file and any changes you make will be reflected in all click to tweet boxes on your website.
Another way to do that is by copying the contents of the plugin’s CSS file and pasting them as custom CSS in your theme using the customizer. This way you can easily edit the CSS more easily with live preview.
We hope this article, helped you learn how to easily add click to tweet box to your WordPress posts and pages. You may also want to see our list of most wanted Twitter hacks and plugins for WordPress.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Jerry says
How to make the background of the twitter box to its original blue colour?
WPBeginner Support says
You would need to reach out to the plugin’s support for the available options at the moment.
Admin
Gaman says
I’ve been trying to install this plugin but unable to activate it. I received “The plugin does not have a valid header.”
To be bad it looks promising.
Lisa Sicard says
I’m been using this one of the websites I manage and noticed the clicks to tweets are not showing up, is there is an issue with the plugin (May 22, 2018). ?
Thank you!
Mathukutty P. V. says
Sumo free also highlight text once select and tweet. Is that not enough for visitors to tweet or still clicktotweet needed?
WPBeginner Support says
Hi Mathukutty P. V,
If you are satisfied with it, then sure you can continue using it. You can also try click to Tweet for comparison and see which one you like better.
Admin
Mathukutty P. V. says
I have installed better click and it looks better on a post. But tweet not showing the featured image or title and meta. Tweet through sumo showing all ok.
Soumik Sadman Anwar says
Seems you have shown the plugin by CoSchedule/Todaymade. Expecting a short review for the plugin by clicktotweet
WPBeginner Support says
Hey Soumik,
We have updated the article. It now shows Better Click to Tweet plugin.
Admin
jim says
how do you install it? there’s no “plugin” option in the menu on the left.
WPBeginner Support says
You are probably using WordPress.com. Please see our guide on the difference between self hosted WordPress.org vs free WordPress.com blog.
Admin
Syed says
so. this for twitter. how about facebook?
Erik says
You want a share button for Facebook (I don’t think there is, or even should be, a plugin where you put stuff on people’s timeline without them interacting like for a share).
Jetpack has the best solution I’ve come across (although I only tested a handful).
Renee Manella says
Thank you so much for this tutorial – it came right on time! I was just about to start wading through plugin reviews and how-to guides when this popped up in the newsletter.
Natasha says
You all are great. I am learning so much. Hopefully, after I have some website maintenance issues addressed, I will be well on my way with my blog.
WPBeginner Staff says
No it does not.
JELindholm says
Great article, I’ve been wanting to add this feature to my posts but never did the research… now I know how to do it
sakeenahummz says
I’ve been looking at this plugin and I really like the idea of it, but recent reviews say it includes a ad link in the tweets. Can you clarify if it does or not. Thanks so much.
Travis Pflanz says
I am a fan of Better Click to Tweet – https://wordpress.org/plugins/better-click-to-tweet/
Some advantages of Better Click to Tweet:
– Option to use short URL
– Works with URL shorteners
– Option to remove “via @screenname” on individual tweets
– Option to remove URL on individual tweets