Tanin
Forum Replies Created
-
Changes accepted. Will be incorporated in version 2.1.2
Yes, but it’s an ugly hack and it does have some consequences. You want to remove the URL that twitter uses to do all its magic. (If you remove it, the count won’t really work)
Here’s how you remove it:
1. Make sure you aren’t using any URL shorteners.
2. Add your custom text as usual.
3. Open up your theme’s function.php and add the following 2 lines to it:function wp_tweet_button_no_url(){return "#Something";} add_filter("wp_tweet_button_long_url","wp_tweet_button_no_url");
You can replace #something with your own favorite hashtag. The result will be a button that won’t count retweets, but it will have whatever text you want in the Twitter popup box. When users click on the count (0), they’ll be taken to a Twitter search query with your selected hashtag.
Forum: Plugins
In reply to: [WP Tweet Button] [Plugin: WP Tweet Button] Fatal ErrorLooks like your PHP installation does not have the mbstring extension installed. See https://www.php.net/manual/en/mbstring.installation.php
Have you tried selecting shortcode AND the option “Force manual placement”?
This plugin just generates the html. Use your theme’s CSS to format it.
Forum: Plugins
In reply to: [WP Tweet Button] [Plugin: WP Tweet Button] Links not showing upI just checked out your site. It looks like you either entered HTML and Javascript in the Google Analytics option of the plugin or you’re using a plugin that’s adding Google Analytics HTML and Javascript to the URL.
Forum: Plugins
In reply to: [WP Tweet Button] [Plugin: WP Tweet Button] Links not showing upCan you provide a link that demonstrates this? Also, the WP Tweet Button generates short URLs using a number of shorteners but “twitters shortner” isn’t one of them. Can you check what shortener it is that you’re using?
Does it show up under settings? If it does, it means it’s installed and active). If it doesn’t show up under settings, it means it could be installed, but not active. Also, note that under the Plugins screen, plugins are sorted alphabetically and there could be multiple pages. If it doesn’t show up there either, it’s not installed. You can install it again by clicking on “Add New” at the top of the screen and searching for “WP Tweet Button”.
Forum: Plugins
In reply to: [WP Tweet Button] [Plugin: WP Tweet Button] Feature suggeestionNot all front pages match their archive layout. I’ll just add it as an additional option in the next release.
Forum: Plugins
In reply to: [WP Tweet Button] Parse Error in settings.inc.phpThanks. I’ll be keeping an eye our for those.
Added support for # Analytics query delimiter to the 2.0.9 build.
(Enabling this option may require clearing your previously saved shortlinks by using the “Delete all previously saved shortlinks when I save” option.)Doesn’t look like you’re using this plugin. In any case, when making changes like that, don’t forget to clear your cache. Sometimes a manual cache clear is needed.
I’ve had my fights with twitter search in the past. I gave up a few weeks ago. I honestly don’t know what’s going on at twitter, but I know their counts are calculated and cached. I don’t know how often the cache is refreshed. I’ve also been noticing that tweets happen to just fade away from search results after a while. This is probably due to capacity issues on twitter’s end. In order to respond in nominal time, they have to remove old tweets from their search index. These factors affect both count consistency and the search results, but again, I don’t work for twitter so, I don’t know more than what I’ve been able to see from the outside.
You may be interested in this: https://dev.twitter.com/pages/tweet_button_faq#count-api-increment
btw,
counturl
is added by checking the box “Display the same tweet count across all shorteners”Forum: Plugins
In reply to: [WP Tweet Button] [Plugin: WP Tweet Button] Extra "Tweet" Text on excerptsIf you already removed the text makes sure you also clear your cache if you’re running a caching plugin.
I’m afraid this is a twitter cache issue. The plugin has no real control of the results.