skip to Main Content

Add Rel Nofollow To Top Bar Social Links

add_filter( 'wpex_topbar_social_link_attrs', function( $attrs ) {
	$attrs['rel'] = 'nofollow';
	return $attrs;
} );
All PHP snippets should be added via child theme's functions.php file or via the Code Snippets Plugin (or alternative plugin)
Back To Top