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 a plugin (we recommend Code Snippets)
Back To Top