Automatically register users with comments

There are a number of functions you can use: register_new_user wp_create_user wp_insert_user The first function being the most simple to use and the last function gives you many more options – it depends what you want to do. You can create the new account when the comment is posted using the comment_post hook. You will … Read more

How to remove a span class?

You shouldn’t be stripping this via the functions.php file but rather edit the comments.php to remove the span directly. If this is a commercial theme that receives updates then you should do it by creating a child theme and customizing your functions.php & comments.php in that child theme. This is a great tutorial on how … Read more

How to show username in reply to comment?

the formatting you want to change typically lives in a comments.php file in the root directory of the theme, though different themes can deal with comments in different ways. There are even themes (Divi themes do this, for example) that let you turn elements like author on and off as part of customizing the theme. … Read more