• Resolved bikerwp000

    (@bikerwp000)


    I have 2 things with Comment:

    1. I just turned on “Allow your visitors to flag a comment as inappropriate” at Admin – settings – discussion. And every time after I click on the “Report Comment” button on a comment, I got a message reading,”Thank you for your feedback. We will look into it” and it’s in yellow font, which totally blends into the white background. I tried to change the font color with my CSS plugin but the change can only apply to each single comment, instead of globally, which is what I need. But I don’t know how to make it global.

    2. I’m hoping to make all the URL links in Comment unclickable and would like to know if it’s possible, and if it is, how.

    I’m doing this because I’m concerned users may potentially engage in promoting their own business or anything that they’re not supposed to. I’m not sure if this is what most site administrators do to prevent / minimize that possibility, but this is the reason why I’m thinking about doing this.

    I have another two issues concerning Buddypress. I’ll post another thread for that. Thank you.

    • This topic was modified 8 years, 5 months ago by bikerwp000.
    • This topic was modified 8 years, 5 months ago by bikerwp000.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Richie KS

    (@rkcorp)

    1. this is plugin question, not theme related. default wp core did not have this feature.
    2. add this custom functions

    function dez_remove_comments_weburl($return) {
    global $comment, $post;
    if( !is_admin() ): //only run outside dashboard  
    $author = get_comment_author( get_comment_ID() );
    $return = $author; //return post author display name only
    return $return;
    endif;
    }
    add_filter( 'get_comment_author_link', 'dez_remove_comments_weburl');

    this is for comment author url only, not url in comment content.

    • This reply was modified 8 years, 5 months ago by Richie KS.
    • This reply was modified 8 years, 5 months ago by Richie KS.
    Thread Starter bikerwp000

    (@bikerwp000)

    thank you, Richie.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘comment report result font color and clickability of URL in comment’ is closed to new replies.