romanhugo
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
URL of the store is recorded in the database as user_nicename, but when I want to display this field, it shows the sellers login.
I dont know how i can use your function. Sorry…
ii solved this problem. I use plugin JetEngine for manage of profile and set avatar. I just change function in vendor.php.
It was:public function get_avatar_id() { $avatar_id = (int) $this->get_info_part( 'gravatar' ); return $avatar_id ? $avatar_id : 0; }Now:
public function get_avatar_id() { $avatar_id = (int) get_user_meta((int) $this->id, 'profile-picture', true ); return $avatar_id ? $avatar_id : 3495; }Where:
profile-picture – (meta key from JetEngine)
3495 – placeholder idI will be grateful if you ll tell me how to use this function in my theme so that my changes are not lost after the plugin is updated.
Thabk u!It was a plugin conflict with JetReviews. Thank You, Romanhugo for you support!
Viewing 3 replies - 1 through 3 (of 3 total)