Support » Fixing WordPress » how to stop visual editor removing addthis code

  • macaela007


    Hi i am tryig to implement addthis social network on some of the pages by adding this code from the addthis website

    but whenever I switch the editor to visual it removes the a empty tags, is there a way to stop from removing the code or the empty tags please see addthis code below

    <!-- AddThis Button BEGIN -->
    <div class="addthis_toolbox addthis_default_style ">
    <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
    <a class="addthis_button_tweet"></a>
    <a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
    <a class="addthis_counter addthis_pill_style"></a>
    <script type="text/javascript" src=""></script>
    <!-- AddThis Button END -->

  • The topic ‘how to stop visual editor removing addthis code’ is closed to new replies.