Title: Question about plugin
Last modified: December 30, 2023

---

# Question about plugin

 *  Resolved [dragoev10](https://wordpress.org/support/users/dragoev10/)
 * (@dragoev10)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/question-about-plugin-31/)
 * Hello,
 * First I want to congratulate you for the great plugin you have created!
   I want
   to ask you is there an option slides I create with links to be no follow or they
   are default no follow?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [dragoev10](https://wordpress.org/support/users/dragoev10/)
 * (@dragoev10)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/question-about-plugin-31/#post-17311163)
 * I’ll just add something to what I wrote. If I add in shortcode [sliderpro id=”
   5″ rel=”nofollow”] do you think that all the links inside this shortcode will
   be nofollow?
 *  Plugin Author [bqworks](https://wordpress.org/support/users/bqworks/)
 * (@bqworks)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/question-about-plugin-31/#post-17315561)
 * Hi,
 * By default the rel=”nofollow” attribute is not added. In order to use it, you
   need to make use of the plugin’s API, more specifically filter hooks. These allow
   you to extend the functionality of the plugin. For example, to add the rel=”nofollow”
   attribute, you can add the following code in your theme’s functions.php:
 *     ```wp-block-code
       add_filter( 'sliderpro_slide_markup', 'slider_slide_markup', 10, 3 );
   
       function slider_slide_markup( $html_markup, $slider_id, $slide_index ) {
           $html_markup = str_replace('<a ', '<a rel="nofollow"', $html_markup);
   
           return $html_markup;
       }
       ```
   
 * Best,
   David
 *  Plugin Author [bqworks](https://wordpress.org/support/users/bqworks/)
 * (@bqworks)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/question-about-plugin-31/#post-17315901)
 * Small correction to the code above (adding a space after the rel=”nofollow” attribute):
 *     ```wp-block-code
       add_filter( 'sliderpro_slide_markup', 'slider_slide_markup', 10, 3 );
   
       function slider_slide_markup( $html_markup, $slider_id, $slide_index ) {
           $html_markup = str_replace('<a ', '<a rel="nofollow" ', $html_markup);
   
           return $html_markup;
       }
       ```
   
 *  Thread Starter [dragoev10](https://wordpress.org/support/users/dragoev10/)
 * (@dragoev10)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/question-about-plugin-31/#post-17317218)
 * The script works great! Thank you!
 *  Plugin Author [bqworks](https://wordpress.org/support/users/bqworks/)
 * (@bqworks)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/question-about-plugin-31/#post-17317791)
 * You’re welcome!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Question about plugin’ is closed to new replies.

 * ![](https://ps.w.org/sliderpro/assets/icon-256x256.png?rev=2564176)
 * [Slider Pro](https://wordpress.org/plugins/sliderpro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sliderpro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sliderpro/)
 * [Active Topics](https://wordpress.org/support/plugin/sliderpro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sliderpro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sliderpro/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [bqworks](https://wordpress.org/support/users/bqworks/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/question-about-plugin-31/#post-17317791)
 * Status: resolved