I’m currently building a niche Q+A site using wordpress with which users can either log in and post questions or log in and answer questions.
Questions are currently being stored as posts, and answers stored as comments. I want question answerers to be able to log in and view all their comments (answers) on one page with a link to the original post (question).
I can easily list posts in this way (i.e. list all of the logged in users posts on one page i.e. their original questions) but cant seem to do this with comments (i.e. list all the logged in user’s answers on one page.) Is there any way to do this?
The query for the comments is the normal wordpress way, but you need to include it in the conditionals linked and pointed above.
Usage example: