skip to Main Content

Create a Social Share Shortcode

Important: This snippet is no longer required. The theme now includes a Social Share element which you can use via your favorite builder.
add_shortcode( 'total_social_share', function() {
	echo get_template_part( 'partials/social-share' );
	return ob_get_clean();
} );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend Code Snippets)
Back To Top