Site logo

Archived topic

Is there a way to only add 'name' to comments?

14 replies · Started by Ilse Turnbull on June 8, 2018

Viewing posts 1–15 of 15

I've unchecked 'name, and email' for comments. But I would like to have people's names filled out, is there away to do this?

Hi there,

I think we could try enable names and e-mails then hide the e-mails field with CSS.

Can you link me to the page in question?

Here is one of the pages. It seems I've lost a lot of my formatting too. I use the Exhibit theme, generate press is inactive, should I have left that activated? I thought if I use a child theme my formatting would stay when the site is updated???

https://kenscritters.com/black-bear-and-raccoon/

Try this CSS:

.comment-form #email {
    display: none;
}

Not sure what you mean by lost your format? The child theme should link to the parent theme.

Figured out the formatting problem, gp premium was deactivated, all sorted out now.

For the css - where would I put that?

It doesn't display the email, like I wanted so that worked fine, however, it throws an error message - Please fill out required fields- email, name.

It's not a huge deal. Thanks.

You should be able to make it so the email isn't required in "Settings > Discussion".

As far as I can tell there is only a spot to either have the email and name together or not at all.
Not sure why they did it that way.

Not to mention it would be nice to get rid of the website field as well. Seriously, wordpress should know better than this.

Thank you for your time. What a pain. And then they add in the website, why????? Probably time for a break, me thinks.

Thanks. I think I'll do that. It should be an option, and it can't be that hard to add it to the core..
Thanks for your help

No problem :)

This archived topic is closed to new replies.