yan-k
5/11/2015 - 8:46 PM

Enfold Add Social Network Share

Enfold Add Social Network Share

/**
 * Add items on the social share section
 */

add_filter('avia_social_share_link_arguments', 'avia_add_social_share_link_arguments', 10, 1);
function avia_add_social_share_link_arguments($args)
{
	$args['instagram'] = array("encode"=>true, "encode_urls"=>false, "pattern" => "http://www.instagram.com/sharer.php?u=[permalink]&t=[title]");
	return $args;
}