How to make changes to the GeoDirectory rating and review comment form like removing the website field?

GeoDirectory ratings and reviews use the WordPress Comment system, adding the rating system on top of the existing comments you may have used before.

Adjust general options for all WordPress Comments section in the WordPress Settings for Discussion

WP Admin - Settings - Discussion

Comments Cookies opt-in Checkbox

This checkbox can be disabled in the WP Discussion settings, as shown here

Remove the website URL field from the comments form

This can be done with a code snippet.

add_filter( 'comment_form_fields', 'gdsnippet_remove_website_field_in_reviews', 999, 1 );
function gdsnippet_remove_website_field_in_reviews( $fields ) {
    if ( isset( $fields['url'] ) ) {
        unset( $fields['url'] );
    }
    return $fields;
}
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us