Soliloquy Documentation

Documentation, Reference Materials, and Tutorials for Soliloquy

Add rel=”nofollow” to Image Links

Important: This doc assumes you’re comfortable creating and/or editing PHP files in your WordPress installation and is intended for advanced users.

If you want to add the rel="nofollow" attribute to image slide hyperlinks, simply add the following code to your active theme’s functions.php file:

add_filter( 'soliloquy_output_link_attr', 'tgm_soliloquy_rel_nofollow' );
function tgm_soliloquy_rel_nofollow( $attr ) {

    return $attr .= ' rel="nofollow"';

}
[i]
[i]