Как убрать сайт из комментариев WordPress

Небольшая заметка в мемы. Открываем файл wp-includes/comment-template.php и ищем функцию comment_form. В ней находим объявление массива $fields. И удаляем элемент url, не забывая при этом про скобки и запятые. Вот как было у меня:

$fields =  array(
                'author' => '

‘ . ‘ ‘ . ‘

‘, ’email’ => ‘

‘, ‘url’ => ‘

‘ . ‘

‘, );

Вот как стало:

$fields =  array(
                'author' => '

‘ . ‘ ‘ . ‘

‘, ’email’ => ‘

‘ );

Сохраняем файл и радуемся =)

12 комментариев к “Как убрать сайт из комментариев WordPress

  1. Hello would you mind letting me know which hosting company you’re using?
    I’ve loaded your blog in 3 different browsers and I must say
    this blog loads a lot faster then most. Can you suggest
    a good web hosting provider at a fair price? Thanks a lot, I appreciate it!

  2. I like the helpful info you provide in your articles. I will bookmark your blog and check again here regularly.

    I am quite sure I will learn a lot of new stuff right here!
    Best of luck for the next!

  3. I know this if off topic but I’m looking into starting my own weblog and was curious what
    all is needed to get setup? I’m assuming having a blog like yours would cost a pretty penny?

    I’m not very internet savvy so I’m not 100% sure.
    Any recommendations or advice would be greatly appreciated.
    Thanks

  4. My programmer is trying to persuade me to move to .net from PHP.
    I have always disliked the idea because of the costs.
    But he’s tryiong none the less. I’ve been using Movable-type on a number of websites for about
    a year and am concerned about switching to another platform.
    I have heard great things about blogengine.net. Is there a way I can transfer all my wordpress posts
    into it? Any kind of help would be greatly appreciated!

  5. Hey There. I found your weblog the usage of msn. This is an extremely smartly written article. I will make sure to bookmark it and return to read more of your helpful information. Thanks for the post. I will definitely return.|

  6. Superb blog! Do you have any recommendations for aspiring writers? I’m hoping to start my own blog soon but I’m a little lost on everything. Would you advise starting with a free platform like WordPress or go for a paid option? There are so many options out there that I’m totally confused .. Any recommendations? Thank you!|

  7. Hi! I could have sworn I’ve visited this web site before but after going through many of the posts I realized it’s new to me. Nonetheless, I’m definitely delighted I found it and I’ll be book-marking it and checking back regularly!|

  8. With havin so much content and articles do you ever run into any problems of plagorism or copyright violation? My website has a lot of unique content I’ve either created myself or outsourced but it seems a lot of it is popping it up all over the web without my authorization. Do you know any techniques to help protect against content from being ripped off? I’d truly appreciate it.|

Оставить ответ

Ваш адрес email не будет опубликован. Обязательные поля помечены *