WPBeginner

Beginner's Guide for WordPress

  • Blog
    • Beginners Guide
    • News
    • Opinion
    • Showcase
    • Themes
    • Tutorials
    • WordPress Plugins
  • Start Here
    • How to Start a Blog
    • Create a Website
    • Start an Online Store
    • Best Website Builder
    • Email Marketing
    • WordPress Hosting
    • Business Name Ideas
  • Deals
    • Bluehost Coupon
    • SiteGround Coupon
    • WP Engine Coupon
    • HostGator Coupon
    • Domain.com Coupon
    • Constant Contact
    • View All Deals »
  • Glossary
  • Videos
  • Products
X
☰
Beginner's Guide for WordPress / Start your WordPress Blog in minutes
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

WPBeginner» Blog» Plugins» How to Add Click to Tweet Boxes in Your WordPress Posts

How to Add Click to Tweet Boxes in Your WordPress Posts

Last updated on August 28th, 2018 by Editorial Staff
104 Shares
Share
Tweet
Share
Pin
Free WordPress Video Tutorials on YouTube by WPBeginner
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.

104 Shares
Share
Tweet
Share
Pin
Popular on WPBeginner Right Now!
  • How to Start Your Own Podcast (Step by Step)

    How to Start Your Own Podcast (Step by Step)

  • Revealed: Why Building an Email List is so Important Today (6 Reasons)

    Revealed: Why Building an Email List is so Important Today (6 Reasons)

  • How to Fix the Error Establishing a Database Connection in WordPress

    How to Fix the Error Establishing a Database Connection in WordPress

  • How to Properly Move Your Blog from WordPress.com to WordPress.org

About the Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Trusted by over 1.3 million readers worldwide.

The Ultimate WordPress Toolkit

19 Comments

Leave a Reply
  1. Jerry says:
    Jun 12, 2020 at 1:33 am

    How to make the background of the twitter box to its original blue colour?

    Reply
    • WPBeginner Support says:
      Jun 12, 2020 at 9:29 am

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

      Reply
  2. Gaman says:
    Aug 21, 2018 at 3:44 am

    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.

    Reply
  3. Lisa Sicard says:
    May 22, 2018 at 6:40 am

    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!

    Reply
  4. Mathukutty P. V. says:
    Feb 15, 2018 at 10:26 pm

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

    Reply
    • WPBeginner Support says:
      Feb 16, 2018 at 7:57 am

      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.

      Reply
    • Mathukutty P. V. says:
      Feb 16, 2018 at 12:32 pm

      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.

      Reply
  5. Soumik Sadman Anwar says:
    Apr 14, 2017 at 1:18 pm

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

    Reply
    • WPBeginner Support says:
      Apr 27, 2017 at 11:57 am

      Hey Soumik,

      We have updated the article. It now shows Better Click to Tweet plugin.

      Reply
  6. jim says:
    Mar 21, 2016 at 11:16 am

    how do you install it? there’s no “plugin” option in the menu on the left.

    Reply
    • WPBeginner Support says:
      Mar 27, 2016 at 3:00 pm

      You are probably using WordPress.com. Please see our guide on the difference between self hosted WordPress.org vs free WordPress.com blog.

      Reply
  7. Syed says:
    Dec 27, 2015 at 3:48 am

    so. this for twitter. how about facebook?

    Reply
    • Erik says:
      Apr 9, 2016 at 1:56 pm

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

      Reply
  8. Renee Manella says:
    Feb 2, 2015 at 8:45 pm

    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.

    Reply
  9. Natasha says:
    Feb 1, 2015 at 6:20 pm

    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.

    Reply
  10. WPBeginner Staff says:
    Jan 28, 2015 at 9:27 pm

    No it does not.

    Reply
  11. JELindholm says:
    Jan 28, 2015 at 3:30 pm

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

    Reply
  12. sakeenahummz says:
    Jan 28, 2015 at 2:51 pm

    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.

    Reply
  13. Travis Pflanz says:
    Jan 28, 2015 at 1:53 pm

    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

    Reply

Leave a Reply Cancel 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.

Over 1,320,000+ Readers

Get fresh content from WPBeginner

Featured WordPress Plugin
PushEngage
PushEngage
Increase your website traffic & revenue with push notifications. Learn More »
How to Start a Blog How to Start a Blog
I need help with ...
Starting a
Blog
WordPress
Performance
WordPress
Security
WordPress
SEO
WordPress
Errors
Building an
Online Store
Useful WordPress Guides
    • 7 Best WordPress Backup Plugins Compared (Pros and Cons)
    • How to Fix the Error Establishing a Database Connection in WordPress
    • Why You Need a CDN for your WordPress Blog? [Infographic]
    • 30 Legit Ways to Make Money Online Blogging with WordPress
    • Self Hosted WordPress.org vs. Free WordPress.com [Infograph]
    • Free Recording: WordPress Workshop for Beginners
    • 24 Must Have WordPress Plugins for Business Websites
    • How to Properly Move Your Blog from WordPress.com to WordPress.org
    • 5 Best Contact Form Plugins for WordPress Compared
    • Which is the Best WordPress Popup Plugin? (Comparison)
    • Best WooCommerce Hosting in 2021 (Comparison)
    • How to Fix the Internal Server Error in WordPress
    • How to Install WordPress - Complete WordPress Installation Tutorial
    • Why You Should Start Building an Email List Right Away
    • How to Properly Move WordPress to a New Domain Without Losing SEO
    • How to Choose the Best WordPress Hosting for Your Website
    • How to Choose the Best Blogging Platform (Comparison)
    • WordPress Tutorials - 200+ Step by Step WordPress Tutorials
    • 5 Best WordPress Ecommerce Plugins Compared
    • 5 Best WordPress Membership Plugins (Compared)
    • 7 Best Email Marketing Services for Small Business (2021)
    • How to Choose the Best Domain Registrar (Compared)
    • The Truth About Shared WordPress Web Hosting
    • When Do You Really Need Managed WordPress Hosting?
    • 5 Best Drag and Drop WordPress Page Builders Compared
    • How to Switch from Blogger to WordPress without Losing Google Rankings
    • How to Properly Switch From Wix to WordPress (Step by Step)
    • How to Properly Move from Weebly to WordPress (Step by Step)
    • Do You Really Need a VPS? Best WordPress VPS Hosting Compared
    • How to Properly Move from Squarespace to WordPress
    • How to Register a Domain Name (+ tip to get it for FREE)
    • HostGator Review - An Honest Look at Speed & Uptime (2021)
    • SiteGround Reviews from 4464 Users & Our Experts (2021)
    • Bluehost Review from Real Users + Performance Stats (2021)
    • How Much Does It Really Cost to Build a WordPress Website?
    • How to Create an Email Newsletter the RIGHT WAY (Step by Step)
    • Free Business Name Generator (A.I Powered)
    • How to Create a Free Business Email Address in 5 Minutes (Step by Step)
    • How to Install Google Analytics in WordPress for Beginners
    • How to Move WordPress to a New Host or Server With No Downtime
    • Why is WordPress Free? What are the Costs? What is the Catch?
    • How to Make a Website in 2021 – Step by Step Guide
Deals & Coupons (view all)
wpDataTables
wpDataTables Coupon
Get 20% OFF on wpDataTables WordPress plugin for tables and charts.
StackPath's logo
StackPath (MaxCDN) Coupon
Get StackPath CDN for just $10/month! It's the same service we use to make our site super fast.
Featured In
About WPBeginner®

WPBeginner is a free WordPress resource site for Beginners. WPBeginner was founded in July 2009 by Syed Balkhi. The main goal of this site is to provide quality tips, tricks, hacks, and other WordPress resources that allows WordPress beginners to improve their site(s).

Join our team: We are Hiring!

Site Links
  • About Us
  • Contact Us
  • FTC Disclosure
  • Privacy Policy
  • Terms of Service
  • Free Blog Setup
  • Free Business Tools
  • Growth Fund
Our Sites
  • OptinMonster
  • MonsterInsights
  • WPForms
  • SeedProd
  • Nameboy
  • RafflePress
  • Smash Balloon
  • AIOSEO

Copyright © 2009 - 2021 WPBeginner LLC. All Rights Reserved. WPBeginner® is a registered trademark.

Managed by Awesome Motive | WordPress hosting by SiteGround | WordPress Security by Sucuri.