peowdie (@peowdie)

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • @peowdie

    Participant

    Glad I could help 🙂

    @peowdie

    Participant

    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. 🙂

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