Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #402619

    Hi ,
    I have been trying different social media share plugin as I am facing issues like, the featured image is not displaying while sharing the page in social media.Currently I am using Addthis plugin which was recommended by enfold support team (https://kriesi.at/support/topic/social-share-buttons/) but this plugin is not visible in Portfolio page which i want to share (http://enveconit.com/portfolio-item/envecon-kicks-erp-implementation-project-liberia-larger-container-general-cargo-terminal/) in Linkedin. Kindly recommend how to fix this also which are the top five plugin which is compatible for WordPress 4.0.1. I don’t want to update word press and enfold because my website crashed when I tried updating in the past.

    #403194

    Hi potentialindia!

    Thank you for using Enfold.

    Did you create an addthis account? Add the share button codes manually. Use this on the functions.php file:

    add_filter('avf_template_builder_content', 'avf_template_builder_content_mod');
    function avf_template_builder_content_mod($content = "") {
    
    if(is_singular('portfolio')) {
    $share = '<!-- 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>
    </div>
    <script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
    <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-51de2d2b7e09a8f5"></script>
    <!-- AddThis Button END -->';
    $content = $content . $share;
    }
    return $content;
    }
    

    Get your own button codes inside the addthis account: https://www.addthis.com/get/sharing

    Regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.