Limited Support
Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed. We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.
Hello! I am using "WP User Avatar" on my site. To display the avatar in the comments, they recommend using the function:
Comments
For comments, you might have in your template:<? php echo get_avatar ($comment, 32); ?>
Replace this function with:<? php echo get_wp_user_avatar ($comment, 32); ?>
For comments, you must specify the $comment variable.
How do I change the class.WpdiscuzWalker.php code to replace the avatar output function? Tnx!
Just find the get_avatar function in the class.WpdiscuzWalker.php file and replace it with the code provided by the plugin support.
Customization doc can be found here: https://wpdiscuz.com/docs/wpdiscuz-documentation/customization/custom-template-and-style/
Yes it worked! Thank!