Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #324143
    #324221

    Hi shaon94!

    Please try copy&pasting the code directly from here – http://pastebin.com/6XBwf5yg

    Best regards,
    Yigit

    #324311

    Hi Yigit,

    Thanks for your response. I have copied the code from the link and pasted it in functions.php

    still no luck. getting white screen after updating the file.

    Thanks,

    #324317

    Hi!

    Do you mind creating a temporary admin login and posting it here privately?

    Regards,
    Yigit

    #324747
    This reply has been marked as private.
    #325035

    Hey!

    Can you post the link to your website as well please? :)

    Best regards,
    Yigit

    #325382
    This reply has been marked as private.
    #325491

    Hi!

    I fixed it by adding this code to the functions.php file:

    
    add_action('ava_after_content', 'avia_add_social_toolbar_temp', 10, 2);
    function avia_add_social_toolbar_temp($id = "", $context = "")
    {
    	if($context == "post")
    		avia_social_share_links();
    }
    
    add_filter('avf_template_builder_content', 'avia_add_social_toolbar_template_builder_temp', 10, 1);
    function avia_add_social_toolbar_template_builder_temp($content = "")
    {
    	if(is_singular('post')){
    		$content .= avia_social_share_links(array(), false);
    		$content .= '<div style="height:1px; margin-top:50px;" class="hr"></div>';
    	}
    	return $content;
    }
    

    Cheers!
    Peter

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