Upload avatar for post comment

I have a comment form and any one can add comments without creating an account. Now client asking to allow user to uploa

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 badges
Add a comment  | 

1 Answer 1

Reset to default 0

Wordpress 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:

  1. 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.
  2. 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.
  3. 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

相关推荐

  • Upload avatar for post comment

    I have a comment form and any one can add comments without creating an account. Now client asking to allow user to uploa

    1天前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信