Filter comments in a post

I am relatively new to wordpress, and coding, and I am working on a site, using the Shapely theme, where the registered users will need to leave comments for a specific post category, but the person I am building the site for wants the user to only be able to see the comments they have written for these specific posts, and not any comments from other users.

I’ve been searching around for a while now, and have not been able to find a solution that seems to work. Is there a way to get this to work that is simple enough for me to implement? Any help would be greatly appreciated.


Just an fyi, in case anyone else has a need similar to this, I was able to get help from a really cool guy over at StackExchange. Here is the link to the solution (I went the route of creating a plugin vs updating the function.php file, so it wouldn’t be affected after any updates).

Hi @kpocock,

That is just awesome, glad you get help. :slight_smile:

Let us know if you have any other questions in a separate thread.