How To: Remove URL Field From GeneratePress Comments Section

Share on facebook
Share on twitter
Share on linkedin
Share on pinterest
Share on tumblr
Share on reddit

Combating spam is a huge concern for every site owner.

But if you are a GeneratePress user, it can be done with ease.

People usually spam your blog by adding links while posting comments on your site. When they see a URL field, they spam!

Spam Comment

So, the solution is to remove the URL field from the comments section entirely.

How to remove URL field from GeneratePress comments section

There is a sweet and simple solution for GeneratePress users. Copy the code given below and add it to your theme's functions.php file.

Once done, clear caches and see the magic!

There is one more way to combat WordPress comments spam. People add links to WordPress comments and WordPress parses the text link to clickable link automatically.

You can disable this by following this tutorial: Disable auto-linking of URLs (clickable links) in WordPress comments.

Make sure to follow us on Facebook and Twitter to stay updated with all our updates.

Source: GeneratePress Forums

Related Posts

Ritesh Saini
Ritesh Saini
I’m a Professional Blogger & Internet Marketer living in India. Started my blogging and online marketing journey in 2013 when I was just 18 years old. You can see my work here on this blog and at

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.