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

    Hi!
    I try to use this to display the social share toolbar in multiple custom post made with ALB, but it seems not working. any advice ?
    ty

    add_filter('avf_template_builder_content', 'avia_add_social_toolbar_template_builder', 10, 1);
    function avia_add_social_toolbar_template_builder($content = "")
    {
        if(is_singular( array( 'ricette', 'ricettesenzaglutine' ) ){
    	$content .= avia_social_share_links(array(), false);
    	$content .= '<div style="height:1px; margin-top:50px;" class="hr"></div>';
    	}
    	return $content;
    }
    #402238

    Hi,

    That should work, can you please create us a WordPress administrator account? post it here as a private reply.

    Regards,
    Josue

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