[Resolved] [Plugin: Share Buttons by Lockerz / AddToAny] 'Add to Any' sending code for quotation mark
Hi, everyone – recently A2A started sending the code for, for instance, quotation marks instead of the actual symbols, e.g., ““” (ampersand hashtag 8 2 2 0 semicolon) instead of ” (as a curly left quote). Do any of you have any idea why this is happening and how I can prevent it? It happens with apostrophes as well.
Can you point us to a live example or walk through how to reproduce?
For some reason my earlier reply by email didn’t make it to the forum.
This is what it said:
Sure. Go to http://thepoliticalcarnival.net and share a story – this one, for instance:
The headline says:
Doonesbury- The trans-vaginal ultrasound theme some papers don’t want you to see: “The Shaming Room.”
When I click on the Twitter ‘share’ button, I get:
Doonesbury- The trans-vaginal ultrasound theme some papers don’t want you to see: “The Shaming Room.” http://j.mp/za6cH8
Ah hah….the forum accepted the code so you don’t see it here except in symbol form.
The apostrophe in the A2A tweet is:
& # 8 2 1 7 ;
The quotation marks are:
Left quotation mark: & # 8 2 2 0 ;
Right quotation mark: & # 8 2 2 0 ;
HTH – I’m baffled. I read one ‘fix’ which said to add this code:
remove_filter (‘single_post_title’, ‘wptexturize’);
remove_filter (‘the_title’, ‘wptexturize’);
remove_filter (‘wp_title’, ‘wptexturize’);
to the functions.php file but I’m reluctant to mess with core files unless I absolutely have to.
Well, this is very strange.
I changed nothing at all, hoping for another response from this forum, and this morning the problem is gone.
A friend has taken over some of the more complicated admin stuff on this site so I will ask him if he’s changed anything in this regard.
Strange but I’m not complaining!
The lines to add to your theme’s function.php file (NOT core, your theme) were the right ones 🙂
Hi, Ipstenu – thanks for the input. I may do that anyway but unless my co-administrator friend changed something, I don’t understand why I would no longer have the problem today unless it was somehow on ‘AddToAny’ ‘s end.
I would guess your co-admin did something. Unless you upgraded the plugin, ad-to-any couldn’t have.
I haven’t had time to check with him yet. I’ll report back if I find out anything.
I spoke too soon. The problem’s back again.
I entered the ‘remove_filter’ etc. code above into the functions.php file of my theme, saved it, and tried a tweet via the Twitter ‘AddToAny’ button and it showed the html code again, – e.g., & # 8220 ; etc. in spite of the updated file.
It also show this: & # 038 ; for a dash. It varies between browsers and is sometimes there, sometimes not.
It’s not just the quotes – it’s also apostrophes and, now, the dash as well.
Will appreciate any input.
This is the page which shows the html code for the ampersand I mention:
Hmmm there seems to be no way to edit a post here — the ‘dash’ I mention in the post two above this is an ampersand. & # 038 ;
Go to http://thepoliticalcarnival.net/wp-admin/options-general.php?page=add-to-any.php and uncheck “Cache AddToAny locally with daily cache updates **” then save changes.
Your drop-down menu on the Share/Save button will start appearing again, and your primary issue here should also be fixed.
Hi, Micropat – thanks for responding. I unchecked “Cache AddToAny locally with daily cache updates” then saved the changes, as you suggested.
Unfortunately, the problem’s still there.
If you go to this page:
and click on the ‘Tweet’ button, you’ll see this [I’m putting a space between the html characters so that the code for the apostrophe doesn’t appear in this forum as a symbol]:
Why Didn & # 8217 ; t Rick Santorum Denounce the Immoral Epidemic of Child Abuse in the Catholic Church? http://j.mp/GBjn8x
There’s a ‘reset’ button in the Add-to-Any settings. I thought I might try that next.
Every time I think I’m making progress with this, it happens again. I thought for a while it might be browser-specific or just happen when I clicked from the ‘single.php’ page but it’s not. There’s no way to upload attachments here that I see or I would show you screenshots, but I just tried it with this story
using Internet Explorer 9 and it happened. The quotation marks and apostrophe in “I’m not running.” were code the first time so I tried it again and then they were symbols.
Is there a setting somewhere other than in the add-to-any dashboard which would cause this?
- The topic ‘[Resolved] [Plugin: Share Buttons by Lockerz / AddToAny] 'Add to Any' sending code for quotation mark’ is closed to new replies.