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

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

$fields =  array(
                'author' => '

‘ . ‘ ‘ . ‘

‘, ’email’ => ‘

‘, ‘url’ => ‘

‘ . ‘

‘, );

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

$fields =  array(
                'author' => '

‘ . ‘ ‘ . ‘

‘, ’email’ => ‘

‘ );

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

26 комментариев к “Как убрать сайт из комментариев 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.|

  9. We’re a gaggle of volunteers and starting a brand new scheme in our community.

    Your web site offered us with helpful info to work on. You’ve done an impressive job
    and our entire community will probably be grateful to you.

  10. I loved as much as you will receive carried out right here.
    The sketch is attractive, your authored material stylish.
    nonetheless, you command get got an impatience over that you wish be delivering the following.

    unwell unquestionably come more formerly again since exactly the same nearly a lot often inside
    case you shield this hike.

  11. I am really impressed with your writing skills and also with the layout on your weblog.
    Is this a paid theme or did you modify it yourself?
    Anyway keep up the excellent quality writing,
    it is rare to see a great blog like this one these days.

  12. I think this is among the most vital info for me.
    And i am glad reading your article. But wanna remark on some general things, The website style is perfect, the articles is really nice : D.
    Good job, cheers

  13. Hello would you mind letting me know which web host you’re working with?
    I’ve loaded your blog in 3 different browsers and I must
    say this blog loads a lot quicker then most. Can you recommend
    a good web hosting provider at a honest price? Thanks, I appreciate it!

  14. Nice post. I was checking constantly this blog and I am impressed!
    Very helpful info specifically the last part 🙂 I care for such information a lot.
    I was looking for this certain info for a long time.
    Thank you and best of luck.

  15. Howdy very cool site!! Guy .. Excellent ..
    Amazing .. I’ll bookmark your site and take the feeds also?
    I’m glad to search out a lot of helpful info right here in the post,
    we’d like develop extra techniques on this regard,
    thanks for sharing. . . . . .

  16. It’s appropriate time to make a few plans for the future and it’s time to be happy.
    I’ve learn this post and if I could I desire to suggest you
    some attention-grabbing issues or tips. Maybe you can write subsequent articles relating to this article.
    I want to learn even more issues about it!

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

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