Removing(replacing) avtar in comments.php with some other HTML arrangements
Use the get_avatar filter and develop a function to return whatever avatar you want.
Use the get_avatar filter and develop a function to return whatever avatar you want.
Please don’t use addslashes to escape things for SQL (it’s potentially dangerous), use $wpdb->prepare(“SQL with %s placeholders”, $string). It will put the data into the placeholder’s … place and take care of escaping, giving you SQL that is safe to execute. Anyway. Your question is how to give them a different background color based on … Read more
You can easily achieve that from the DB user table, On the image I marked that field.
The standard comment form functionality renders the br tag and   on the front end. You can see this in the image below (which uses Divi). You might want to check the comments.php file on your theme if you find a different behavior for your comments text. Alternatively, if I have not understood the question, … Read more
this WordPress plugin can help you : https://wordpress.org/plugins/wpdiscuz/ thanks.
Solved with: function myplugin_comment_columns( $columns ) { return array_merge( $columns, array( ‘ruolo’ => __( ‘Ruolo’ ) ) ); } add_filter( ‘manage_edit-comments_columns’, ‘myplugin_comment_columns’ ); function myplugin_comment_column( $column, $comment_ID ) { switch ( $column ) { case ‘ruolo’: if(get_comment($comment_ID)->user_id != “0”) { if(get_comment($comment_ID)->user_id != “1”) { $ruolo = “”; $user_meta=get_userdata(get_comment($comment_ID)->user_id); $ruolo = “Registrato”; if(in_array(‘vip’, ( array )$user_meta->roles)) … Read more
Comments of post author are given a class bypostauthor , you can personalize it through css.
where can I find the missing comments in my wordpress dashboard?
You are using the wrong code. Use HTML Entities
Had this problem and wasted SO many hours, until I read someone else’s post explaining that in most themes the comment UI only shows up on the INDIVIDUAL blog post page, ie, the page that loads when you click on the title of the post, NOT on the landing page for the blog posts. Don’t … Read more