Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #25950

    Hi Gstar72,

    We would need to see the implementation live and inspect the code. If you could also provide a sample of what you are adding in that would help too.




    Hi Devin

    addthis html is as follows:

    <div class=”addthis_toolbox addthis_default_style “>

    <script type=”text/javascript” src=””></script>


    When you add this to the portfolio and then select to view the portfolio in Ajax format, the thumbnail previews do not load, so you cannot access the page. I tried adding the addthis widget – its a big shit sandwich, as I don;t want sidebars..

    Can you see any solution?. Thanks mate.



    First go to the Add this plugin dashboard. Settings > Addthis Share. Fill in the AddThis Profile ID: then login using your Addthis account. Get the Addthis API code on your actual addthis account. Sign in here:

    <!-- 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_pinterest_pinit"></a>
    <a class="addthis_counter addthis_pill_style"></a>
    <script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
    <script type="text/javascript" src="//"></script>
    <!-- AddThis Button END -->

    Edit wp-contentthemesenfoldconfig-templatebuilderavia-shortcodes > portfolio.php, find this code.

    $output .= "<h2 class='portfolio-preview-title'><a href='{$link}'>".$entry->post_title."</a></h2>";

    Below, add the addthis api code with some modifications.

    $output .=	'<!-- AddThis Button BEGIN -->';
    $output .= '<div class="addthis_toolbox addthis_default_style ">';
    $output .= '<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a';
    $output .= '<a class="addthis_button_tweet"></a>';
    $output .= '<a class="addthis_button_pinterest_pinit"></a>';
    $output .= '<a class="addthis_counter addthis_pill_style"></a>';
    $output .= '</div>';
    $output .= '<!-- AddThis Button END -->';

    After that, open footer.php, find this code

    <a href='#top' id='scroll-top-link' class='avia-font-entypo-fontello'></a>

    Below, add the addthis javascript code with your unique profile id. It will look something like this.

    <script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
    <script type="text/javascript" src="//"></script>

    We got the code from the original API code.

    If you successfully did the instructions above, you will have the addthis button below the portfolio title.




    Hi Ismael,

    Sorry its been so long since I replied, too much going on….

    I opted to not use the ajax portfolio in the end, due to a few issues. Woul the above code add the add this share to my portfolio without any issues?-

    Thanks for your help guys, you are great!




    Yes it should work. You can also try a social bookmarks plugin ( (Purchase code hidden if logged out) -plugin )




    Hi Guys

    I tried all of the above with either no luck, or bugs. I ended up installing the Addthis plugin, selecting the all in one pill, then copying the code from Firebug and pasting where I wanted within the page, seems to have done the trick. Just trying to figure out how to integrate this code into the lightbox / gallery popup:

    <div tabindex=”0″>Bookmark and Share</div>

    Hope this helps someone else?.



    Hi Gary,

    As far as I know prettyPhoto doesn’t have support for that. It has support for twitter and facebook which can be enabled by following Peter’s advice here:



Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘addthis Social Share html’ is closed to new replies.