Remove web field from reviews form

This topic contains 2 replies, has 2 voices, and was last updated by  P O 9 years, 11 months ago.

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

Open Support Ticket

Tagged: , ,

  • Author
    Posts
  • #27944

    P O
    Expired Member
    Post count: 501

    I want to remove the web field from the review form. That leads to spam usually, so for me its better to not have a web field there.

    How to remove it ?

    Thanks.

    #27945

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi PO,

    This is not really a specific GD question, a quick google and you would have found the answer in seconds 🙂

    Add this to your child theme functions.php file

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

    Thanks,

    Stiofan

    #27961

    P O
    Expired Member
    Post count: 501

    That worked. I thought that the form was a specific GD custom one.

    Thank you.

Viewing 3 posts - 1 through 3 (of 3 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