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.
I just installed WpDisciz and my SEO plugin is giving me a warning and reducing my score from 100% to 95% on every page that has comments because a WpDiscuz image file does not have an alt image tag. It's not in my media library, so I can't add it. The file is located in the plugin folder as follows: wpdiscuz/files/img/avatar_default.png. How can I add an alt tag to this image or otherwise correct the problem? I did not see an option to remove the default avatar.
Thanks!
Hi onetorah.net,
Please open /helper/wc-helper.php file and find this row:
$comm_auth_avatar = '<img width="48" height="48" class="avatar avatar-48 photo avatar-default" src="' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/avatar_default.png') . '" alt=""/>';
And change it to something like this:
$comm_auth_avatar = '<img width="48" height="48" class="avatar avatar-48 photo avatar-default" src="' . plugins_url(WC_Core::$PLUGIN_DIRECTORY . '/files/img/avatar_default.png') . '" alt="Default Avatar"/>';
Thanks for the advice, I made the change. However, it looks like this is the image causing the problem:
public_html/wp-content/plugins/wpdiscuz/files/img/loader/ajax-loader-200x200.gif
Sorry that I got it wrong originally.