WordPress.org

Ready to get started?Download WordPress

Forums

Share Buttons by AddThis
Minor issue with custom Google +1 button (4 posts)

  1. Anton Im
    Member
    Posted 2 years ago #

    I managed to get Google +1 work with this plugin with the following custom button:

    <div class="addthis_toolbox addthis_default_style ">
    <a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
    </div>

    Which works just fine.
    However there is one minor thing. When I go to AddThis Plugin Options for the second time the custom code has no spaces between tag attributes, so it looks like this:

    <div class="addthis_toolbox addthis_default_style">
    <a class="addthis_button_google_plusone"g:plusone:size="medium"></a>
    </div>

    If I "Save" it then again, I get:

    <div class="addthis_toolbox addthis_default_style ">
    <a></a>
    <a class="addthis_counter addthis_pill_style"></a>

    and the button goes away.
    Same thing happens with other custom code (E.g. FB Like)

    http://wordpress.org/extend/plugins/addthis/

  2. Aaron Jorbin
    Member
    Posted 2 years ago #

    Thanks for the report. I'm working on a fix now. I'll update this thread when it has been pushed live.

  3. Aaron Jorbin
    Member
    Posted 2 years ago #

    This was fixed with version 2.2.2 that just was released.

  4. Anton Im
    Member
    Posted 2 years ago #

    Thanks Aaron. Just tested it with the new version.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic