Changing default vendor avatar

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM Changing default vendor avatar

Viewing 3 reply threads
  • Author
    Posts
    • #107298
      ashley.younguk
      Participant

      Hello,

      I would like to change the two default vendor avatars – the one in the top right corner (the profile icon) and the one in the welcome box. If I override the images in the plugin folder it reverts back when I update the plugin. Is there a way of changing this?

      Thank you

    • #107823
      WCFM Forum
      Keymaster

      Hi,

      Please know me image urls which you want to use for the purpose.

      I will give you code for this.

      Thank You

    • #107919
      ashley.younguk
      Participant

      Hi

      So it’s this one: wp-content/plugins/wc-frontend-manager/assets/images/user.png

      and this one: wp-content/plugins/wc-frontend-manager/assets/images/avatar.png

      Thank you 🙂

      • #107921
        ashley.younguk
        Participant

        I would like to change those URLs to images I upload to the wordpress media folders.

        • #107997

          Hi,

          Add this code to your child theme’s functions.php
          In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

          add_filter('wcfm_defaut_user_avatar',function($img_url){
          	$img_url = 'http://localhost/wordpress/wp-content/uploads/2019/05/1.jpg'; //image url which you upload to the wordpress media folder
          	return $img_url;
          },20);

          Thanks.

    • #108209
      ashley.younguk
      Participant

      Amazing – worked perfectly 🙂

Viewing 3 reply threads
  • The topic ‘Changing default vendor avatar’ is closed to new replies.