Ready to get started?Download WordPress


Share Buttons by AddThis
Adding a wrapper div prevents display of buttons (3 posts)

  1. helgatheviking
    Posted 1 year ago #

    For some reason, adding a simple wrapper div element around the addthis_toolbox code causes the buttons to completely disappear from the markup. Tested with Twenty Twelve and no other plugins enabled.

    <div class="addthis_wrapper">
    <div class="addthis_toolbox addthis_default_style sticky">
    <a class="addthis_button_facebook"><img src="Social.FB.Grey.png" width="32" height="32" border="0" alt="Share" /></a>
    <a class="addthis_button_linkedin"><img src="Social.IN.Grey.png" width="32" height="32" border="0" alt="Share" /></a>
    <a class="addthis_button_twitter"><img src="Social.TW.Grey.png" width="32" height="32" border="0" alt="Share" /></a>
    <a class="addthis_button_compact"><img src="Social.Social.Grey.png" width="32" height="32" border="0" alt="Share" /></a>

    Image source URLs intentionally obscured.


  2. Srijith V
    AddThis Samurai
    Plugin Author

    Posted 1 year ago #

    The issue is due to the way we parse the code. One quick fix is to use the following code.

    <div class="addthis_wrapper">
    <span class="addthis_toolbox addthis_default_style sticky">
    <a class="addthis_button_facebook"></a>
    <a class="addthis_button_linkedin"></a>
    <a class="addthis_button_twitter"></a>
    <a class="addthis_button_compact"></a>
  3. helgatheviking
    Posted 1 year ago #

    Do you mean parse on the admin side, or parse on the jquery side?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.