Does the HTML code underneath your Comments Box annoy you?

23
33
1.1K followers

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

23
33

Join FREE & Launch Your Business!

Exclusive Bonus - Offer Ends at Midnight Today

00

Hours

:

00

Minutes

:

00

Seconds

2,000 AI Credits Worth $10 USD

Build a Logo + Website That Attracts Customers

400 Credits

Discover Hot Niches with AI Market Research

100 Credits

Create SEO Content That Ranks & Converts

800 Credits

Find Affiliate Offers Up to $500/Sale

10 Credits

Access a Community of 2.9M+ Members

By continuing, you agree to our Terms of Service and Privacy Policy
No credit card required

Recent Comments

33

OMG I've found this at last, site looks so much better... thank you :)

1

Good, I'm glad I've helped a few people. It's rewarding. Thanks.

1

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

1

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

1

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

1

Works wonderfully, thank you Jen!

1

Thanks Jen!

1

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.

1

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

Perfect

1

thank you for sharing all the best

1

Thanks Maxian59, all the best to you, too.

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

1

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.

2

Thanks, Shiloh01, hope it worked out fine.

1

It did. Only took seconds.

Thanks for sharing that

1

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

2

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.

1

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

1

only those that are really necessary

1

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.

1

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.

1

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

1

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.

1

See more comments

Join FREE & Launch Your Business!

Exclusive Bonus - Offer Ends at Midnight Today

00

Hours

:

00

Minutes

:

00

Seconds

2,000 AI Credits Worth $10 USD

Build a Logo + Website That Attracts Customers

400 Credits

Discover Hot Niches with AI Market Research

100 Credits

Create SEO Content That Ranks & Converts

800 Credits

Find Affiliate Offers Up to $500/Sale

10 Credits

Access a Community of 2.9M+ Members

By continuing, you agree to our Terms of Service and Privacy Policy
No credit card required

2.9M+

Members

190+

Countries Served

20+

Years Online

50K+

Success Stories

The world's most successful affiliate marketing training platform. Join 2.9M+ entrepreneurs building their online business with expert training, tools, and support.

© 2005-2025 Wealthy Affiliate
All rights reserved worldwide.

🔒 Trusted by Millions Worldwide

Since 2005, Wealthy Affiliate has been the go-to platform for entrepreneurs looking to build successful online businesses. With industry-leading security, 99.9% uptime, and a proven track record of success, you're in safe hands.