WPIntell

Source evidence

Question about plugin

Slider Pro · support · 2023-12-30T20:32:00+00:00

mixedsentiment
mediumseverity
0.72relevance
5replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 33 rows with source links

15.2% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
dragoev10 resolved
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? 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? 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: 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 Small correction to the code above (adding a space after the rel=”nofollow” attribute): 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; } The script works great! Thank you! You’re welcome!

Comments

5 shown
dragoev10 2024-01-01T16:12:00+00:00

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?

bqworks 2024-01-03T15:31:00+00:00

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: 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

bqworks 2024-01-03T18:02:00+00:00

Small correction to the code above (adding a space after the rel=”nofollow” attribute): 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; }

dragoev10 2024-01-04T09:39:00+00:00

The script works great! Thank you!

bqworks 2024-01-04T12:49:00+00:00

You’re welcome!