How to change avatar of the comment author using comment ID?

You can use pre_get_avatar filter to manipulate comment avatar html and stop WP from getting a default avatar for the comment. Passing a non-null value will effectively short-circuit get_avatar(), passing the value through the ‘get_avatar’ filter and returning early. E.g. add_filter( ‘pre_get_avatar’, ‘my_filter_pre_get_avatar’, 10, 3 ); function my_filter_pre_get_avatar( $avatar_html, $id_or_email, $args ) { if ( … Read more

Removing the limit on the number of nested comments

thread_comments_depth is the option you need to change, and while the dropdown gives you several predefined values, the option can store any value. So if you use the dev tools to adjust the dropdown to add a 9999 option, you can set it to a max of 9999 nested comments, or more even. You can … Read more

Threaded comments not working

If your theme is old (made for WP version before 2.7) you will need to upgrade its code to work with threaded comments. Probably both internal code and styling. Most fitting article I can find in docs is Migrating Plugins and Themes to 2.7/Enhanced Comment Display Plus there were major changes to comment form functionality … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)