Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I don’t want to force the user to have to enter his name or email address. How do I make them optional?

0
10 Posted

I don’t want to force the user to have to enter his name or email address. How do I make them optional?

0

• You cannot make them optional. You can, however “hide” them from your visitors. Copy comments-form-tpl.php to a new file my-comments-form-tpl.php. In that template put, for example, a dummy name in the field and make it hidden. Change: to: For email address change: “; To: That creates a unique, random email address for each comment. You don’t want to use a non-unique dummy address because it will likely be quickly flagged as a

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123