Update. Okay, so I’ve tried to reverse the “adding no-follow” guide I’ve found, and found these two strings;
add_filter( ‘bbp_get_reply_content’,’bbp_rel_nofollow’, 50 );
add_filter( ‘bbp_get_topic_content’,’bbp_rel_nofollow’, 50 );
Found them here; bbpress/includes/core/filters.php
How do I go around and change the nofollow from it? If I remove the string ‘bbp_rel_nofollow’, it gives an error. If I remove the ‘no’ part in nofollow, it gives an error.
Okay, trial and error worked out.
Just for anyone in the future who wants it dofollow, outcomment the lines. So
//add_filter( ‘bbp_get_reply_content’,’bbp_rel_nofollow’, 50 );
//add_filter( ‘bbp_get_topic_content’,’bbp_rel_nofollow’, 50 );
That’ll work. If for some reason you want the links to the userprofiles, reply button and all that stuff to be dofollow too, simply search for ‘nofollow’ (without the brackets) in the bbpress/includes/core/filters.php file, and outcomment the strings. I’m no php wizz, so if this interrupts something else somewhere, please tell. 🙂
peowdie thanks, works like charm.
Thanks dude. you saved me.
It did not work for me..plz help
Just for anyone in the future who wants it dofollow, outcomment the lines. So
//add_filter( ‘bbp_get_reply_content’,’bbp_rel_nofollow’, 50 );
//add_filter( ‘bbp_get_topic_content’,’bbp_rel_nofollow’, 50 );
That’ll work.
That actually worked well.
But i have another problem, i removed nofollow in order to try to get light box working on bbpress posts, its working fine on wp posts however.
I need rel=”lightbox” on images in posts, how to add that filter if anyone can help?
Thanks
Thanks a million Dude You Saved me, Indeed !!
Hi, I know this is an old topic. Those days When I faced this problem and I wrote a plugin to solve this problem. Hope it will help someone else has the same problem.
bbpress dofollow