Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #412883

    This snippet does not work with Enfold 3.1
    http://kriesi.at/documentation/enfold/enable-social-share-section-for-pages/
    Buttons are placed in “header” instead of “footer”

    #413172

    Hey Roine!

    Try this out.

    add_filter('avf_template_builder_content', 'avia_add_social_toolbar_template_builder', 10, 1);
    function avia_add_social_toolbar_template_builder($content = "")
    {
    	$content .= avia_social_share_links(array(), false, '', false);
    	$content .= '';
    	return $content;
    }

    Regards,
    Elliott

    #413467

    Sorry, but this code crashes the site.
    I had to remove the code directly but attach a link to a screenshot to what this code is created:

    `add_filter(‘avf_template_builder_content’, ‘avia_add_social_toolbar_template_builder’, 10, 1);
    function avia_add_social_toolbar_template_builder($content = “”)
    {
    $content .= avia_social_share_links(array(), false);
    $content .= ”;
    return $content;
    }

    placed in child themes function.php

    #413575

    Hey!

    Please remove the code and add “Social share buttons” element under Content elements in Advanced Layout Builder :)

    Regards,
    Yigit

    #413582

    YES!!!!!! Shame on me!

    #413588

    Hey!

    :) Let us know if you have any other questions or issues

    Cheers!
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Social Share for pages and 3.1’ is closed to new replies.