Comments 1Onur tarakci started the conversationJuly 23, 2018 at 11:54amHey!I want to remove nofollow attributes from post content and comment text. Please helpBest regards 104FlexiPress repliedJuly 24, 2018 at 8:18pmHey Onur,You need to add the following code to functions.php file in order to clean up nofollow tag from your post content and comment text: function remove_nofollow($string) { $string = str_ireplace(' rel="nofollow"', '', $string); return $string; } add_filter('the_content', 'remove_nofollow'); add_filter('comment_text', 'remove_nofollow');Best regards, FlexiPress Support Follow on Envato Facebook Twitter 1Onur tarakci repliedJuly 26, 2018 at 10:28amHey!Thank you i hope this will helps but, after adding this to functions.php i see this letter on top of the page.Best regards 104FlexiPress repliedJuly 26, 2018 at 10:13pmHey Onur,Looks that you have added the code after the closing ?> PHP tag. Please make sure to add the code before main <?php tag is closed.Best, FlexiPress Support Follow on Envato Facebook Twitter Sign in to reply ...
Hey!
I want to remove nofollow attributes from post content and comment text.
Please help
Best regards
Hey Onur,
You need to add the following code to functions.php file in order to clean up nofollow tag from your post content and comment text:
Best regards,
FlexiPress Support
Follow on Envato Facebook Twitter
Hey!
Thank you i hope this will helps but, after adding this to functions.php i see this letter on top of the page.
Best regards
Hey Onur,
Looks that you have added the code after the closing ?> PHP tag. Please make sure to add the code before main <?php tag is closed.
Best,
FlexiPress Support
Follow on Envato Facebook Twitter