Beginner's Guide for WordPress / Start your WordPress Blog in minutes

How to Add Click to Tweet Boxes in Your WordPress Posts

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.

How to Add Click to Tweet Boxes in Your WordPress Posts

Video Tutorial

Subscribe to WPBeginner

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.

Better Click to Tweet plugin settings

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.

Preview of a Click to Tweet box in a WordPress post

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"]

Change click to tweet button text

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.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit – a collection of WordPress related products and resources that every professional should have!

Reader Interactions

19 CommentsLeave a Reply

    • You would need to reach out to the plugin’s support for the available options at the moment.


  1. 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.

  2. 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!

  3. Sumo free also highlight text once select and tweet. Is that not enough for visitors to tweet or still clicktotweet needed?

    • 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.


    • 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.

  4. Seems you have shown the plugin by CoSchedule/Todaymade. Expecting a short review for the plugin by clicktotweet

    • 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).

  5. 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.

  6. 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.

  7. 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 :)

  8. 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.

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.