Comments/Reviews Adding Website Leaves Main Site

This topic contains 1 reply, has 2 voices, and was last updated by  Guust 7 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #433289

    Jeff Adams
    Free User
    Post count: 1780

    I just added a review to my site to test it out. I didn’t log in. I added a website. Afterwords I logged in to approve the review. Then I went to see what it looked like. My name was a hyper link. I clicked on it and it brought me to the website I added when creating the review. The only problem with this is that it didn’t open in new window. Also, I didn’t know it was going to take me to another website.

    I could see this being an issue because someone may click on a name in a review and then they may think they are still in the same site. Or maybe they didn’t want to leave the site.

    When a user leaves a review their name goes to their user profile. So, someone may notice this and think it’s happening the same way with a review where it’s not going to the same site.

    Is there a way to make it open in a new window or possibly even better remove the option to add a website?

    #433291

    Guust
    Moderator
    Post count: 29970

    You can add this code snippet to remove the website field:

    
    
    function my_disable_comment_url($fields) { 
        unset($fields['url']);
        return $fields;
    }
    add_filter('comment_form_default_fields','my_disable_comment_url');

    Thanks

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount