It looks like CoSchedule is now the owner of this plugin. Is any kind of update to fix at least the most severe bugs coming? If there isn’t a positive response from the developers within the next few days, I’ll have to report this plugin as no longer being maintained. Sorry, but it’s unacceptable.
]]>Will this plugin be updated to have a native integration with the new editor? There should be a block we can use to insert a tweet box.
]]>Hi,
If I add more than one tweet into a blog post, the second tweet actually also uses the text from the first tweet. Can you please fix this?
Thanks!
]]>Will the plugin be updated soon to include Twitter’s new character limit?
]]>The [Tweet “tweet text”] shortcode is in the post, but nothing shows up where it should be. When I look at the source code of the page there is just an empty paragraph tag where it should be. Has anyone run into this before?
I tried this plugin and it works:
https://www.ads-software.com/plugins/click-to-tweet/
It has a lot of flexibility, design templates, and a URL shortener as well. Plus it is actively maintained. So we will probably switch to that plugin, but it would be nice to know what the issue is since there are dozens of posts using the shortcode for the old plugin and it may take a while to convert.
]]>I love this plug-in and hate to see it abandoned. What kind of donation would it take to get an update done? Perhaps if it’s shared, we can chip in and make it happen?
]]>I’m trying to use the [tweet]
shortcode in a template file, using do_shortcode()
‘. Is that possible? (obviously I can’t get it to work…)
What I’m trying to do is:
function saotn_related_posts_after_post( $content ) {
$blog_id = get_current_blog_id();
if ( $blog_id == "1" && is_singular( 'post' ) ) {
// [..]
$content .= do_shortcode('[Tweet ""]');
// [...]
}
return $content;
}
Note: the empty Tweet shortcode comes from my code change and feature request. See my email from Fri, 22 Jul 2016 for the following information – for anyone who wants this as well:
In click-to-tweet-by-todaymade\tm-click-to-tweet.php, add the following
in the function tweet($matches), below the if (!empty($handle)) {
block, around line 229:
$text = ($matches[1] == "") ? get_the_title() : $matches[1];
This makes the function:
/**
* Replacement of Tweet tags with the correct HTML
*/
public function tweet($matches) {
$handle = get_option('twitter-handle');
if (!empty($handle)) {
$handle_code = "&via=".$handle."&related=".$handle;
}
$text = ($matches[1] == "") ? get_the_title() : $matches[1];
$short = $this->shorten($text, 100);
return "<div class='tm-tweet-clear'> [!snip rest of code!] </div>";
}
]]>
When I insert a click to tweet shortcode, the text and @username show up, but there is no link to the post. I’ve checked the settings, but I can’t find any reason why this is happening. Is anyone else having this problem? Am I missing something?
]]>Thanks for sharing this wonderful plugin. It would be really nice if the plugin authors can update it so that it doesn’t show that it hasn’t been updated for 2 years. Many beginner users would think that it is probably abandoned and will not try it.
https://www.ads-software.com/plugins/click-to-tweet-by-todaymade/
]]>Hi!
Does this plugin work with page builder? If so, how can I add the feature that comes with the plugin?
https://www.ads-software.com/plugins/click-to-tweet-by-todaymade/
]]>Any idea why the shortcode doesnt work in the Gravity FOrms confirmaition text area?
All other html and shortcodes work around it.. but CTT just outputs the shortcode itself.
https://www.ads-software.com/plugins/click-to-tweet-by-todaymade/
]]>The plugin works wonderfully when people use it from their computers, but when they post from mobile devices (e.g., iPhone or iPad), the words in the tweet have plus signs in between. Here’s an example:
So+what+if+thongs+made+me+feel+like+I+had+dental+floss+up+my+ass?+I+was+tough. https://colettesartor.com/thong-worthy/
This only seems to be happening on mobile devices.
Any assistance would be appreciated. My site is https://colettesartor.com
https://www.ads-software.com/plugins/click-to-tweet-by-todaymade/
]]>Hi,
I use Click To Tweet plugin in french but I have to edit php file to translate “Click to tweet” button.
I think it could be imrpove the experience in next update to have the possibility of changing this text directly from an input in admin panel.
So we don’t have to edit PHP after future updates.
David
https://www.ads-software.com/plugins/click-to-tweet-by-todaymade/
]]>Hi, we just installed it and used it for the first time. Tweet messages are getting truncated at a lot less thatn 120 characters. Some at 103, some at 92, some at 96.
I saw similar topic was closed, but no solution?
Thanks,
diego
nusa
https://www.ads-software.com/plugins/click-to-tweet-by-todaymade/
]]>Any chance you’ll be integrating one soon – or is there a workaround you can recommend?
https://www.ads-software.com/plugins/click-to-tweet-by-todaymade/
]]>Hi
I’m trying to integrate this plugin and having some issues and my dev said:
“This Click to Tweet plugin doesn’t use a standard WordPress shortcode as it should. It is filtering the content of posts/pages using ‘the_content’ filter and then it does a preg_replace on the [tweet…] shortcode.
So actually this plugin needs to follow WordPress conventions and use add_shortcode() to register the shortcode properly.
I tried doing apply_filters() for ‘the_content’ on the body but it doesn’t work”
Can you ask the plugin author or find a similar plugin that properly uses shortcodes?
Any advice or help is appreciated!
https://www.ads-software.com/plugins/click-to-tweet-by-todaymade/
]]>Hi. I feature guest bloggers on my site. Today I wanted my “click to tweet” to say this:
PPD after miscarriage: A candid and hopeful essay by @lowrenblogs
But when I tested the tweet, @lowrenblogs didn’t translate to a clickable handle on Twitter.
Any way to fix this?
Thanks!
https://www.ads-software.com/plugins/click-to-tweet-by-todaymade/
]]>Is there a way to track the number of clicks to tweet per page?
Any idea is much appreciated.
Cheers!
https://www.ads-software.com/plugins/click-to-tweet-by-todaymade/
]]>Today the Click To Tweet plugin started causing post and sidebar formatting issues. When I deactivate it the issues go away, but come right back when I reactivate. I would like to still use this plugin and have had no problems in the past. Can you help?
https://www.ads-software.com/plugins/click-to-tweet-by-todaymade/
]]>The plugin is no longer working and all the times I used this plugin now just show the text! What’s the solution!?
https://www.ads-software.com/plugins/click-to-tweet-by-todaymade/
]]>After the new update to the plugin 12 hours ago Click to Tweet no longer works on my site. All that appears is the text that I type in the posts, namely: [Tweet “…”].
I hope there’s an easy fix for this as I use Click to Tweet about three times in each post and my site looks a mess.
https://www.ads-software.com/plugins/click-to-tweet-by-todaymade/
]]>Hello there, At first thanks for developing this awesome WordPress plugin. And 2nd Is, I’m having an issue with It.
My SEO consults recommend me to add Nofollow attribute into twitter link. I’ve tried adding nofollow attribute into CTT from Plugin>Editor, But this making my site 500 error.
Thanks again for this awesome WordPress plugin and hoping to get my problem fixed soon…
https://www.ads-software.com/plugins/click-to-tweet-by-todaymade/
]]>The length limit of multi-byte strings (such as those containing greek characters), is incorrectly calculated.
As a result the tweets are truncated to a shorter length than the one actually set in the plugin’s code (100 chars).
The issue is resolved by replacing the string handling function calls (strlen, strpos, substr) in the “shorten” function in tm-click-to-tweet.php, line 206, with the multi-byte ones (mb_strlen, mb_strpos, mb_substr respectively).
Here is the code:
public function shorten($input, $length, $ellipses = true, $strip_html = true) {
if ($strip_html) {
$input = strip_tags($input);
}
if (mb_strlen($input) <= $length) {
return $input;
}
$last_space = mb_strrpos(mb_substr($input, 0, $length), ' ');
$trimmed_text = mb_substr($input, 0, $last_space);
if ($ellipses) {
$trimmed_text .= '...';
}
return $trimmed_text;
}
https://www.ads-software.com/plugins/click-to-tweet-by-todaymade/
]]>I wanted to make click to tweet use the main home page of the site, instead of taking the page the ‘click to tweet button’ was on. Doing a search and replace on tm-clic-to-tweet.php you should search for
.get_permalink().
and replace with
.site_url().
This will make all tweets link to your home page URL and not the page your are tweeting from. This is actually more useful on some campaigns where the site name is highly relevant.
https://www.ads-software.com/plugins/click-to-tweet-by-todaymade/
]]>I have a blog with a dark background and the default appearance of Click to Tweet stood out a bit too much and was a bit big for my tastes. By the way, I like the plugin. It works well.
So I added some CSS to my theme to change things.
This changes the background color of the box to black, the border to white, gives it sharp corners, and reduces the padding around the text, which makes the box a bit smaller.
.tm-click-to-tweet {
background-color: #000;
border: 1px solid #DDD;
border-radius: 0px;
padding: 5px 8px;
}
This changes the “click to tweet” link to a gold color.
.tm-click-to-tweet a.tm-ctt-btn {
color: gold;
}
This changes the main title of the box to a light gray.
.tm-click-to-tweet .tm-ctt-text a {
color: #D3D3D3;
}
I also changed the “Click to” text from “Click To Tweet” to “Click Here to Tweet This Post”
To do that you have to edit the plugin. You will find the test in two places:
1) Replacement of Tweet tags with the correct HTML
2) Replacement of Tweet tags with the correct HTML for a rss feed
Look for the code that starts with return “<div class=’tm-tweet-clear’>, find the text bit in the code and change appropriately.
You will have to repeat this every time the plugin is updated.
Hope this helps.
https://www.ads-software.com/plugins/click-to-tweet-by-todaymade/
]]>I created the Tweet to say this:
Win 2 tickets to @LunchWithMaria’s fabulous Summer Patio Party on July 5th! RT to Enter! #LadiesWhoLunch #LWL Network #LunchWithMaria
133 characters
However, when I click to Tweet it says this:
Win 2 tickets to @LunchWithMaria’s fabulous Summer Patio Party on July 5th! RT to Enter!… https://www.ladieswholunchnetwork.com/upcoming-events-2/ via @lunchwithmaria
165 characters
1) I’d like the link to be a short link if it has to be there and
2) What happened to my hashtags?
Basically, why isn’t it adding the Tweet exactly how I added it?
https://www.ads-software.com/plugins/click-to-tweet-by-todaymade/
]]>When I composed the tweet to highlight, I pasted in something like:
this is nice & so is this
Unfortunately, the sent tweets have “&” instead of &
I am checking my html in post and seeing & — would be good if the plugin detected & and automatically converted to &. Probably true for many common ASCII chars!
??
https://www.ads-software.com/plugins/click-to-tweet-by-todaymade/
]]>I’d love it if I could add something in the embed to change the author depending on author of the post. EG:
[Tweet "xyz" via="user"]
Probably even better if the plugin would use the post-author’s twitter handle automatically…
https://www.ads-software.com/plugins/click-to-tweet-by-todaymade/
]]>Great and beautiful plugin! I was wondering if there is a way to increase the character limit allowed for the quote in my post body?
https://www.ads-software.com/plugins/click-to-tweet-by-todaymade/
]]>Is there a way to change the URL that it tweets so that, instead of being a link to the page, it’s a custom URL?
https://www.ads-software.com/plugins/click-to-tweet-by-todaymade/
]]>