Remove 'website' field from comment form

This topic contains 1 reply, has 2 voices, and was last updated by  Alex Rollin 4 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #526235

    spectrum
    Lifetime Member
    Post count: 78

    The customized php snippet in your documentation here doesn’t seem to work:

    https://wpgeodirectory.com/docs-v2/addons/multiratings/#customize

    I managed to get it working with the following:

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

    Alex Rollin
    Moderator
    Post count: 27815

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

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