• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2662

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

Add No Follow To Links In Simple Social Icons Widget

The code in this post provide different ways to add the rel="no-follow" attribute to all links output by the Simple Social Icons plugin developed by StudioPress.

Here’s the before and after HTML for the links generated by the Simple Social Icons widget :

Default rel="dofollow"
Added rel="no-follow"

The image on the left shows the default link and the image on the right shows no-follow added to the link.

Demo Video #

Shows rel="no-follow" attribute added to the HTML for each simple social icon link.

Tested using the Simple Social Icons plugin with the Genesis Sample child theme by StudioPress however works in any Genesis child theme without modification.

Installation Steps #

Only 1 step – Copy & paste the PHP code ( without the opening PHP tag ) to the end of your child themes functions.php file.

Download Folder

Simple Social Icons

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems