Does the HTML code underneath your Comments Box annoy you?

23
1.1K followers
Updated

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

Login
Create Your Free Wealthy Affiliate Account Today!
icon
4-Steps to Success Class
icon
One Profit Ready Website
icon
Market Research & Analysis Tools
icon
Millionaire Mentorship
icon
Core “Business Start Up” Training

Recent Comments

33

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.

I was pondering how to remove that and you came to my rescue. Thanks Jen.

That's ok, how're you, hope you're much better now.

Found my compass, so I managed to search for the direction. Thanks Jen for your concern. See you around.

Works wonderfully, thank you Jen!

Thanks Jen!

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.

I could be a theme thing so it may not work with you theme.

Perfect

thank you for sharing all the best

Thanks Maxian59, all the best to you, too.

Thanks, I'll have to try this. It DOES annoy me.

Thanks, Deb. I just found this method really easier for me. There are other ways, though, as others have shared.

Thank you. Just did this. Have a great day.

Thanks, Shiloh01, hope it worked out fine.

It did. Only took seconds.

Thanks for sharing that

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.

whats the maximum amount of plugins we should have? I didn't know this omg

Changing the code is not always the best way because if your theme is updated your alterations to the code are gone. ~Marion

only those that are really necessary

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.

Yes, you're right, katkat, only those that are necessary.

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

Login
Create Your Free Wealthy Affiliate Account Today!
icon
4-Steps to Success Class
icon
One Profit Ready Website
icon
Market Research & Analysis Tools
icon
Millionaire Mentorship
icon
Core “Business Start Up” Training