October 28, 2019
Add NoFollow (rel=”nofollow”) To WordPress Tags Cloud
This is how you add rel=”nofollow” to tag links in the tag cloud using wp_tag_cloud().
Add it to your theme’s functions.php.
add_filter( 'wp_tag_cloud', 'no_follow_tag_cloud_links' ); function no_follow_tag_cloud_links( $return ) { $return = str_replace('<a', '<a rel="nofollow" ', $return ); return $return; }
Hello, i want rel nofollow checkbox option for link edit setting. (without plugin)
can you help me with this?