admin管理员组

文章数量:1327981

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);

本文标签: