Home / Archive / Add Rel Nofollow to Top Bar Social Links
Duplicate Snippet

Embed Snippet on Your Site

Add Rel Nofollow to Top Bar Social Links

We don't recommend it but if you want to add a nofollow attribute to your top bar social links you can using this snippet.

Code Preview
php
<?php
add_filter( 'totaltheme/topbar/social/link_attributes', function( $attrs ) {
	$attrs['rel'] = 'nofollow';
	return $attrs;
} );

Comments

Add a Comment