WordPress.org

Ready to get started?Download WordPress

Forums

how to stop visual editor removing addthis code (1 post)

  1. macaela007
    Member
    Posted 2 years ago #

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

    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>
    </div>
    <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4fe994a9013c7ffa"></script>
    <!-- AddThis Button END -->

Topic Closed

This topic has been closed to new replies.

About this Topic