Support » Plugin: AddToAny Share Buttons » [Plugin: Share Buttons by Lockerz / AddToAny] 'Add to Any' sending code for quotation mark

  • Resolved lwdgrfx

    (@lwdgrfx)


    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.

    http://wordpress.org/extend/plugins/add-to-any/

Viewing 15 replies - 1 through 15 (of 24 total)
  • Plugin Author micropat

    (@micropat)

    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:

    Doonesbury- The trans-vaginal ultrasound theme some papers don’t want you to see: “The Shaming Room.”

    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(‘the_content’, ‘wptexturize’);
    remove_filter(‘comment_text’, ‘wptexturize’);
    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!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    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.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    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.

    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 ;

    Plugin Author micropat

    (@micropat)

    You have a larger fixable issue – the AddToAny JavaScript isn’t loading because you have an advanced option enabled that isn’t working on your site.

    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:

    Why Didn’t Rick Santorum Denounce the Immoral Epidemic of Child Abuse in the Catholic Church?

    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

    VIDEO- Russ Feingold: Being pressured, but “I’m not running” for governor of Wisconsin.

    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?

    Plugin Author micropat

    (@micropat)

    It’s fully working for me now in all browsers including IE9. When you click your Share/Save button, does the drop-down menu appear, or does it navigate away to another page on addtoany.com?

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘[Plugin: Share Buttons by Lockerz / AddToAny] 'Add to Any' sending code for quotation mark’ is closed to new replies.