Support » Plugin: Comment Guestbook » Delete Form Fields

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author mibuthu

    (@mibuthu)

    This is not possible yet, but I’m already working on it and a new version with this feature will be released soon.

    In case anyone is still looking to remove a field (until the feature is included)…

    I was able to remove the Website/URL field by adding the following to functions.php

    //Remove Comments Website Field
    add_filter( 'genesis_comment_form_args', 'url_filtered' );
    add_filter( 'comment_form_default_fields', 'url_filtered' );
    function url_filtered( $fields ) {
    
    if ( isset( $fields['url'] ) )
    unset( $fields['url'] );
    
    if ( isset( $fields['fields']['url'] ) )
    unset( $fields['fields']['url'] );
    
    return $fields;
    }
    Plugin Author mibuthu

    (@mibuthu)

    Hiding the email or website field is now possible in the new version 0.6.2.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Delete Form Fields’ is closed to new replies.