最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

I have an odd field with a purple background, mentioning HTML-codes to use while leaving comments

programmeradmin6浏览0评论

I'm very new to this whole deal with creating websites and wordpress and all, so if there's anything basic knowledge I've missed, then I probably missed it. That saying; I have a weird issue. I want to let visitors have the ability to leave comments on blogposts I do, but the field looks like this; .jpg (I hope an imgur link is ok)

I'd like to have only the "leave a reply", the text about email adress, the comment section itself, name/mail/website fields and the checkbox and the "post comment" button. I dont want that purple box with HTML-codes there - I dont even know where the heck it came from.

Does anyone know what I can do to get rid of it?

I'm very new to this whole deal with creating websites and wordpress and all, so if there's anything basic knowledge I've missed, then I probably missed it. That saying; I have a weird issue. I want to let visitors have the ability to leave comments on blogposts I do, but the field looks like this; https://i.sstatic/hUyqq.jpg (I hope an imgur link is ok)

I'd like to have only the "leave a reply", the text about email adress, the comment section itself, name/mail/website fields and the checkbox and the "post comment" button. I dont want that purple box with HTML-codes there - I dont even know where the heck it came from.

Does anyone know what I can do to get rid of it?

Share Improve this question asked Jul 18, 2020 at 18:32 LunnainnLunnainn 1
Add a comment  | 

1 Answer 1

Reset to default 0

This page says that feature was removed from Wordpress a long time ago, so you may have a theme or plugin which has put it back.

You can try using the same filter to remove it again. To use the filter you need to add this to your functions.php file:

function remove_comment_prompt( $defaults ) {
    return "";
}

add_filter( 'comment_form_defaults', 'remove_comment_prompt', 999, 1);
发布评论

评论列表(0)

  1. 暂无评论