WordPress.org

Forums

Comment Guestbook
[resolved] Delete Form Fields (4 posts)

  1. sommerinhamburg
    Member
    Posted 1 year ago #

    Hi,

    sorry, but I do not understand how I can customize the comment form.
    Need a different wording and delet the URL field.

    Thanks for help and your good work!

    https://wordpress.org/plugins/comment-guestbook/

  2. mibuthu
    Member
    Plugin Author

    Posted 1 year ago #

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

  3. brit77
    Member
    Posted 1 year ago #

    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;
    }
  4. mibuthu
    Member
    Plugin Author

    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Comment Guestbook
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic