I have a comment form and any one can add comments without creating an account. Now client asking to allow user to upload profile picture from the comment form. Check attached image below.
Any help would be greatly appreciated.
I have a comment form and any one can add comments without creating an account. Now client asking to allow user to upload profile picture from the comment form. Check attached image below.
Any help would be greatly appreciated.
Share Improve this question asked Jul 22, 2020 at 14:46 DivyangDivyang 132 bronze badges1 Answer
Reset to default 0Wordpress doesn't have built-in profile pictures (Avatars) by default. See Settings > Discussion in the menu for available options.
So you may have a few options:
- Use Gravatar, as this is bundled in Wordpress by default and free but would not require a profile image upload button as its managed separately.
- Look for an Avatar plugin that allows for programatically creating an upload button in your Comments template, or one that pre-packs that functionality. There are several Avatar plugins around but I can't be sure that they have the Comment form functionality you are looking for.
- Use ACF to extend the user profile with an image, and then ACF form to allow uploads via the Comments template.
For what its worth - I think allowing members of the public to upload their own images to your website like that is a generally bad idea. I suspect Wordpress agree, which is why they include Gravatar.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742241627a4407261.html
评论列表(0条)