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;
}
Hi,
That should work, can you please create us a WordPress administrator account? post it here as a private reply.
Regards,
Josue