Social Menu allows site owners to create a new menu location, used to display links to Social Media Profiles.
Theme developers can add support for Social Menu by following these two simple steps.
Step 1. Declare support in a function hooked to
add_theme_support( 'jetpack-social-menu' );
Step 2. Use a template tag to output the menu where you would like to show it. Be sure to include the
function_exists() check to avoid fatal errors if Jetpack isn’t activated.
<?php if ( function_exists( 'jetpack_social_menu' ) ) jetpack_social_menu(); ?>
Once you’ve created a menu, Jetpack will automatically enqueue a basic stylesheet to style each one of the menu items, thanks to Genericons. You don’t have to do anything else!