Better Click To Tweet - Version 5.6.5

Version Description

  • fix added a parameter to the mailing list signup in the admin to help determine where some suspicious signups are originating from.
  • enhancement gave the readme file a makeover so that the page on the plugin directory is more focused and provides greater value.
Download this release

Release Info

Developer ben.meredith@gmail.com
Plugin Icon 128x128 Better Click To Tweet
Version 5.6.5
Comparing to
See all releases

Code changes from version 5.6.4 to 5.6.5

Files changed (3) hide show
  1. bctt_options.php +1 -1
  2. better-click-to-tweet.php +1 -1
  3. readme.txt +23 -22
bctt_options.php CHANGED
@@ -188,7 +188,7 @@ function bctt_settings_page() {
188
 
189
  <div id="bctt_signup" class="inside">
190
  <form
191
- action="//benandjacq.us1.list-manage.com/subscribe/post?u=8f88921110b81f81744101f4d&amp;id=bd909b5f89"
192
  method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form"
193
  class="validate" target="_blank" novalidate>
194
  <div id="mc_embed_signup_scroll">
188
 
189
  <div id="bctt_signup" class="inside">
190
  <form
191
+ action="//benandjacq.us1.list-manage.com/subscribe/post?u=8f88921110b81f81744101f4d&amp;id=bd909b5f89&amp;SUBSET=<?php echo urlencode( site_url() ) ?>"
192
  method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form"
193
  class="validate" target="_blank" novalidate>
194
  <div id="mc_embed_signup_scroll">
better-click-to-tweet.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Better Click To Tweet
4
  * Description: Add Click to Tweet boxes simply and elegantly to your posts or pages. All the features of a premium plugin, for FREE!
5
- * Version: 5.6.4
6
  * Author: Ben Meredith
7
  * Author URI: https://www.betterclicktotweet.com
8
  * Plugin URI: https://wordpress.org/plugins/better-click-to-tweet/
2
  /**
3
  * Plugin Name: Better Click To Tweet
4
  * Description: Add Click to Tweet boxes simply and elegantly to your posts or pages. All the features of a premium plugin, for FREE!
5
+ * Version: 5.6.5
6
  * Author: Ben Meredith
7
  * Author URI: https://www.betterclicktotweet.com
8
  * Plugin URI: https://wordpress.org/plugins/better-click-to-tweet/
readme.txt CHANGED
@@ -4,32 +4,27 @@ Donate link: https://www.wpsteward.com/donations/plugin-support/
4
  Tags: click to tweet, twitter, tweet,
5
  Requires at least: 3.8
6
  Tested up to: 5.0
7
- Stable tag: 5.6.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- Insert click to tweet boxes into your posts, simply and securely. This plugin is customizable, regularly updated, and future-proof.
12
 
13
  == Description ==
14
 
15
  = The most popular Click To Tweet Plugin for WordPress (by a mile), for good reason. =
16
 
17
- This plugin allows you to easily create tweetable content for your readers. Using a simple shortcode, your selected text is highlighted and made tweetable.
18
 
19
- * Now [fully customizable](http://benlikes.us/bcttcustom "power user guide customization instructions") if you know CSS.
20
- * Easily [remove the "via"](http://benlikes.us/7m "how to customize the better click to tweet plugin")
21
- * Selectively [remove the URL](http://benlikes.us/7r "power user guide") from the resulting Tweet
22
- * For the SEO-conscious: [make links nofollow.](http://benlikes.us/7r "power user guide")
23
 
24
  ><strong> Why Better?</strong><br>
25
- >This plugin started as a complete retool of the "Click To Tweet" plugin by Todaymade. In addition to the user-focused changes above, the under-the-hood changes include correct character counting when dealing with non-Roman characters, translation-readiness, and use of the official shortcode API (which means security and forward-compatibility)
26
 
 
27
 
28
- **Speaking of the area under the hood:** developers, please hop in and suggest improvements. You can submit pull requests at the [github repo](https://github.com/Benunc/better-click-to-tweet "plugin github repo") for this plugin.
29
-
30
- Huge thanks to Andrew Norcross @norcross for the help with making the plugin even better as of v4.0 with enhancements to the Visual Editor's button. But you can't blame him for any of the other code!
31
-
32
- Translation is now managed at [the official WordPress translation page](https://translate.wordpress.org/projects/wp-plugins/better-click-to-tweet "WordPress translation"). Thanks to the folks who helped translate in the past.
33
 
34
  == Installation ==
35
 
@@ -49,29 +44,28 @@ Translation is now managed at [the official WordPress translation page](https://
49
  == Frequently Asked Questions ==
50
 
51
  = Are there other style options? =
52
- Yes! If you are a developer, there are [limitless options for styling](http://benlikes.us/bcttcustom "custom style for Better Click To Tweet").
53
 
54
  If you are not a developer, I have released a premium add-on for selecting among several (and growing) different style options. Check out [Premium Styles](http://benlikes.us/bcttps "Premium Styles for Better Click To Tweet")
55
 
56
  = How does Better Click To Tweet work? =
57
  Better Click To Tweet enables you to create beautiful Click To Tweet boxes in your blog posts. Once you've installed and activated the plugin, click on the settings link to put in your Twitter username, and save the settings.
58
 
59
- Then, wherever you want to insert a Click to Tweet quote, use a shortcode in the format `[bctt tweet="xxxxxxxxxxxx"]` replacing the `xxxxxxx` with your tweetable quote.
60
 
61
- As of version 3.1, you can leave off the "via @YourHandle" on a tweet-by-tweet basis by including using a shortcode in the format of `[bctt tweet="xxxxxxxxxxx" via="no"]`
62
 
63
  In the visual editor, you can click the blue birdy icon in the toolbar and a correctly formatted shortcode will be inserted in your text. For more info or clarifications, start a [support thread](https://wordpress.org/support/plugin/better-click-to-tweet "support forum"). I'll actively answer.
64
 
65
  = How does the URL shortener functionality work? =
66
  Better Click To Tweet gives you the maximum number of characters possible. Allow me to explain:
67
 
68
- Twitter automatically routes every link through its own URL shortener (you might recognize t.co as the domain they use). For their t.co links, the length is automatically truncated to 23 characters for URLs. This leaves 117 characters after the URL for you to use to compose your tweet. Even a link that is run through bit.ly or a yourls.org install is still routed through t.co in the tweet.
69
 
70
  The benefit of URL shorteners goes beyond just character length, though. Many users use bit.ly or a similar service to track numbers of clicks and other analytical data. I personally use yourls.org to power http://benlikes.us for my shortened links.
71
 
72
- As of version 3.0, my plugin works alongside url shortening plugins to harness that power, if you choose to.
73
 
74
- WordPress has a feature called "shortlinks" which changes the long URL to something like yourdomain.com/?p=3435. Various plugins in the official repository exist to change that shortlink to one using other outside services. Using a combination of those plugins and mine, your Better Click To Tweet boxes can now display a trackable link.
75
 
76
  On the settings page for Better Click To Tweet, simply check the box indicating you'd like to use the short URL, and save changes. If you've got a plugin that correctly hijacks the built-in WordPress shortlink functionality, you're all set! I've tested my plugin with the following plugins, and will make every effort to keep this list updated:
77
 
@@ -84,23 +78,30 @@ If you run into any issues with my plugin not working alongside a certain link s
84
  I've also written [a tutorial](http://benlikes.us/79 "shortlink tutorial") for how to set up the shortlinks with bit.ly and yourls.org.
85
 
86
  = Are there any other hidden tricks? =
87
- Yes! Because I want the majority of users (who aren't as concerned with options like nofollow links and getting rid of the URL in the tweet) to be happy, most options are hidden. I've written [a tutorial for using those advanced options](http://benlikes.us/7r "power user guide")
88
 
89
  = What do I do if it's not working right? =
90
  I am active in [the support forums](https://wordpress.org/support/plugin/better-click-to-tweet "BCTT Support"), and in patching the plugin. Start a thread there, and I will gladly help you out. Most of the time you can expect a day or two before a response. I'm in the eastern US, and I like playing with my kids at night, so you might not hear back immediately. Don't panic.
91
 
92
  = How can I help? =
93
  Translations: https://translate.wordpress.org/projects/wp-plugins/better-click-to-tweet
94
- Pull Requests: https://github.com/Benunc/better-click-to-tweet
95
  Donations: http://benlikes.us/donate
96
 
97
  == Screenshots ==
98
 
99
- 1. This in the editor...
 
 
100
  1. Becomes this in your blog post!
101
 
102
  == Changelog ==
103
 
 
 
 
 
 
104
  = 5.6.4 =
105
  * fix — resolve an error for folks running both WordPress 5.0 and PHP version 5.3.x
106
  * fix — changes to make the code more legible for humans. But only the total geeks.
4
  Tags: click to tweet, twitter, tweet,
5
  Requires at least: 3.8
6
  Tested up to: 5.0
7
+ Stable tag: 5.6.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ Insert click to tweet boxes into your posts, simply and securely. Gutenberg/WordPress 5.X+ block included.
12
 
13
  == Description ==
14
 
15
  = The most popular Click To Tweet Plugin for WordPress (by a mile), for good reason. =
16
 
17
+ Create tweetable content for your readers, using a simple shortcode or Gutenberg block. Readers are encouraged to tweet out both a quote, and a link to your content.
18
 
19
+ * [Add Premium Styles](http://benlikes.us/bcttps "Premium Styles add-on") with just a few clicks.
20
+ * Using the shortcode method in the classic editor? See our [Power User Guide](http://benlikes.us/7r "power user guide") for all the tricks (remove or change the "via," make links nofollow, change the callback URL, and more!).
 
 
21
 
22
  ><strong> Why Better?</strong><br>
23
+ >Back in the day, there was only one or two options for Click to Tweet plugins. They didn't do a lot of things I wanted them to do, so I made this plugin. I'm bad at naming things, so "Better Click To Tweet" it is. Since then, I've made so many changes and enhancements that any resemblance to the original inspiration plugins are long gone.
24
 
25
+ **Developer? Designer? Geek of any sort?** Please hop in and suggest improvements. You can create issues or submit pull requests at the [github repository](https://github.com/Benunc/better-click-to-tweet "plugin github repo") for this plugin.
26
 
27
+ Translation is managed at [the official WordPress translation page](https://translate.wordpress.org/projects/wp-plugins/better-click-to-tweet "WordPress translation").
 
 
 
 
28
 
29
  == Installation ==
30
 
44
  == Frequently Asked Questions ==
45
 
46
  = Are there other style options? =
47
+ Yes! If you are a developer or handy with CSS, there are [limitless options for styling](http://benlikes.us/bcttcustom "custom style for Better Click To Tweet").
48
 
49
  If you are not a developer, I have released a premium add-on for selecting among several (and growing) different style options. Check out [Premium Styles](http://benlikes.us/bcttps "Premium Styles for Better Click To Tweet")
50
 
51
  = How does Better Click To Tweet work? =
52
  Better Click To Tweet enables you to create beautiful Click To Tweet boxes in your blog posts. Once you've installed and activated the plugin, click on the settings link to put in your Twitter username, and save the settings.
53
 
54
+ Then, wherever you want to insert a Click to Tweet quote, use a shortcode in the format `[bctt tweet="xxxxxxxxxxxx"]` replacing the `xxxxxxx` with your tweetable quote.
55
 
 
56
 
57
  In the visual editor, you can click the blue birdy icon in the toolbar and a correctly formatted shortcode will be inserted in your text. For more info or clarifications, start a [support thread](https://wordpress.org/support/plugin/better-click-to-tweet "support forum"). I'll actively answer.
58
 
59
  = How does the URL shortener functionality work? =
60
  Better Click To Tweet gives you the maximum number of characters possible. Allow me to explain:
61
 
62
+ Twitter automatically routes every link through its own URL shortener (you might recognize t.co as the domain they use). For their t.co links, the length is automatically truncated to 23 characters for URLs. This leaves 253 characters after the URL for you to use to compose your tweet. Even a link that is run through bit.ly or a yourls.org install is still routed through t.co in the tweet.
63
 
64
  The benefit of URL shorteners goes beyond just character length, though. Many users use bit.ly or a similar service to track numbers of clicks and other analytical data. I personally use yourls.org to power http://benlikes.us for my shortened links.
65
 
66
+ Better Click To Tweet works alongside url shortening plugins to harness that power, if you choose to.
67
 
68
+ WordPress has a feature called "shortlinks" which changes the long URL to something like example.com/?p=3435. Various plugins in the official plugin directory exist to change that shortlink to one using other outside services. Using a combination of those plugins and mine, your Better Click To Tweet boxes can now display a trackable link.
69
 
70
  On the settings page for Better Click To Tweet, simply check the box indicating you'd like to use the short URL, and save changes. If you've got a plugin that correctly hijacks the built-in WordPress shortlink functionality, you're all set! I've tested my plugin with the following plugins, and will make every effort to keep this list updated:
71
 
78
  I've also written [a tutorial](http://benlikes.us/79 "shortlink tutorial") for how to set up the shortlinks with bit.ly and yourls.org.
79
 
80
  = Are there any other hidden tricks? =
81
+ Yes! Because I want the majority of users (who aren't as concerned with options like nofollow links and getting rid of the URL in the tweet) to be happy, most options are hidden. I've written [a tutorial for using those advanced options](http://benlikes.us/7r "power user guide"). Most of those options are visible in the Gutenberg block, so that tutorial really only applies to the classic editor.
82
 
83
  = What do I do if it's not working right? =
84
  I am active in [the support forums](https://wordpress.org/support/plugin/better-click-to-tweet "BCTT Support"), and in patching the plugin. Start a thread there, and I will gladly help you out. Most of the time you can expect a day or two before a response. I'm in the eastern US, and I like playing with my kids at night, so you might not hear back immediately. Don't panic.
85
 
86
  = How can I help? =
87
  Translations: https://translate.wordpress.org/projects/wp-plugins/better-click-to-tweet
88
+ Issues, feature requests, and Pull Requests: https://github.com/Benunc/better-click-to-tweet
89
  Donations: http://benlikes.us/donate
90
 
91
  == Screenshots ==
92
 
93
+ 1. Find our block with a forward slash...
94
+ 1. ...and adding tweetable content just got EASY.
95
+ 1. This in the classic editor...
96
  1. Becomes this in your blog post!
97
 
98
  == Changelog ==
99
 
100
+ = 5.6.5 =
101
+ * fix — added a parameter to the mailing list signup in the admin to help determine where some suspicious signups are originating from.
102
+ * enhancement — gave the readme file a makeover so that the page on the plugin directory is more focused and provides greater value.
103
+
104
+
105
  = 5.6.4 =
106
  * fix — resolve an error for folks running both WordPress 5.0 and PHP version 5.3.x
107
  * fix — changes to make the code more legible for humans. But only the total geeks.