Viewing 4 replies - 1 through 4 (of 4 total)
  • Can you be more specific???

    Thread Starter vadiko

    (@vadiko)

    Forgive me for my English, I’m not an English speaker. I translate through google translate.

    The site is allowed to leave comments to non-registered users, where they must indicate their
    Name
    E-mail address
    site
    I need to disable, hide the field site in the comments ?https://prntscr.com/kqtmj7
    Thank you.

    Thread Starter vadiko

    (@vadiko)

    Dear developers, please help. I really need this feature. Thank you
    Google translator

    • This reply was modified 6 years, 2 months ago by vadiko.
    Thread Starter vadiko

    (@vadiko)

    Found a solution. Maybe someone needs.
    Added code in functions.php

    // Удаляем URL из формы отправки комментариев
    add_filter('comment_form_default_fields', 'sheens_unset_url_field');
    function sheens_unset_url_field ( $fields ) {
      if ( isset($fields['url'] ))
      unset ( $fields['url'] );
      return $fields;
    }
    

    This code helped me.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Field site in the comments’ is closed to new replies.