Custom Avatar Tutorial

Support MB User Avatar Custom Avatar Tutorial

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32030
    Sheldon HardingSheldon Harding
    Participant

    I have been following this tutorial: https://metabox.io/create-custom-avatar/

    I am using Oxygen Builder and the part where you insert the code in the function.php I used Advance Scripts and also tried Code Snippets.

    The uploaded Avatar photo will not replace the WordPress default picture.

    What am i doing wrong?

    Sheldon

    #32059
    Long NguyenLong Nguyen
    Moderator

    Hi Sheldon,

    If you use the component Author Avatar of Oxygen Builder to show the custom avatar, please refer to this topic to use another code to show the custom avatar in Oxygen.
    https://support.metabox.io/topic/metabox-user-avatar-not-working-with-elementor-author-widget/

    And change the field ID to custom_avatar

     $custom_avatar = rwmb_meta( 'custom_avatar', [ 'object_type' => 'user' ], $user_id );
    
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.