I need to be able to allow users to leave comments on author profile pages.
I came across another answer here that has given me a basic outline of what needs to be done to allow it: https://wordpress.stackexchange.com/questions/8996/author-page-comments-and-ratings
That said, I am unsure how to proceed with getting it implemented. I have created a custom post type to hold the comments, but I do not know how to make it so that each time a user/author signs up to our site (we are building a site with open registration), a post gets created in the custom post type to hold comments, and then automatically associated to their user profile.
Would much appreciate a more detailed answer than what was provided on the linked question, so that I am able to understand exactly how to get this up and running.
Many Thanks
Actually you need to simply hook the Stuff with the user_register Action like
Above code is something which you are actually missing from the original post https://wordpress.stackexchange.com/questions/8996/author-page-comments-and-ratings So after adding the above code you simple need to follow that over the author.php same like that code
You can hook a new filter to wp_insert_user function (if you’re using it to insert user on registration step) using insert_user_meta hook, so, after creating new user, this filter will be called on meta array before saving it. Here is the example code that might be helpful:
You Can update your user-author.php file with the below code.
You need to understand here we assume with blog id for the particular blog. please let me know if there are any other issue you are facing.