Does the HTML code underneath your Comments Box annoy you?
There is one way to remove the 'eye sore' underneath the comments box. I found this easy and it worked with my websites.
Go to your Dashboard>Appearance>Editor. Then under the comments.php, look for this:
comment_form( ); towards the end of the file. Then change it into:
comment_form( array( 'comment_notes_after' => ' ') );
Click Update file.
Do not delete or add anything else. Pls. remember that you are editing the editor section full of HTML codes, so be careful. If nothing happens, check the punctuations. It should work with any WP theme.
Cheers,
Jen
Recent Comments
33
You could try this By
Trialynn
I can remove it with HTML, or CSS editing. Thanks Bill. It is sort of like changing themes.
this code works:
BuckTaylorPremium 2 months ago If you just want to get rid of that text but keep the comment available on the page you can use CSS to hide it.
- Go to appearance > editor
- Scroll down looking on the right hand side for your styles.css file and click on it.
- In the content box where the code is, look for the class name .form-allowed-tags (could also be ".comments-area .form-allowed-tags" or another variation of that)
- add this this style to that class: display:none;
- So the whole think should look like this when you are done:
.form-allowed-tags{
display:none;
}
Yes, that's also one of the methods, I tried it, however, it didn't work with my site. Maybe I just got it wrong, so I did the other way, which i thought was easy for me. Thanks for sharing this,Bill.
Thanks for sharing Jen, there's actually an easier way I found :p.
Just install the plugin "WP Notes Remover" and it will automatically remove those annoying HTML codes under the comment box
Thanks for sharing that but you should be looking at the minimum amount of plugins and it may be better for some to change the code.
Changing the code is not always the best way because if your theme is updated your alterations to the code are gone. ~Marion
Yes, someone has shared this before, Riaz, which is probably easier, but I've got too many plugins already, so I just did what was less risky for me.
That's why I said 'be careful'. This is not for someone who's afraid of touching the codes. It's just a matter of putting the right punctuations, and if nothing works, you can always put the original codes back.
Accdg to Kyle, only use plugins that will make your site running effectively. I don't think there is a maximum number, only put what's necessary for you site. If you've got one that's useless, by all means delete it, as this may be causing problems to your site.
See more comments
OMG I've found this at last, site looks so much better... thank you :)
Good, I'm glad I've helped a few people. It's rewarding. Thanks.