Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #2777891
Setting Comment in posting
Closed

Comments

  • rizkio1099 started the conversation

    How to change options or delete (Name, email, website) in the comment column?

  •  2,610
    PenciDesign replied

    Hi,

    You can delete the email & website field by following these steps:

    1. Install the plugin: Code Snippets: https://wordpress.org/plugins/code-snippets/,

    2. Go to Snippets, Add a new snippet code:

    <?php
    add_filter('comment_form_default_fields', 'unset_url_field');
    function unset_url_field($fields){
        if(isset($fields['url'])) {
            unset($fields['url']);
        }
        if(isset($fields['email'])) {
            unset($fields['email']);
        }
        return $fields;
    }

    Save the change and reload your site.

    If you want to customize more fields and structure, please go to "wp-content/themes/pennews/comments.php"  and edit.

    Best Regards,
    PenciDesign.