You can use the get_comments function to retrieve comments from a specific user.
$comments = get_comments( array( 'user_id' => 1 ) );
foreach( $comments as $comment ) {
$post_id = $comment->comment_post_ID;
$post = get_post( $post_id );
setup_postdata( $post );
echo '<a href="' . get_permalink() . '">' . get_the_title() . '</a>';
echo $comment->comment_author . '<br />' . $comment->comment_content;
}
Related Posts:
- WordPress comments not appearing in blog posts, likely because of Redux template. Could I fix this with a plugin that adds a comment form as a block? [closed]
- Auto-post to multiple sites like Posterous? [closed]
- posts comments goes to trash
- Custom setup of wordpress comments that are displayed
- Moving FB comments at the end of page
- How to get Recent Post From Each Category with Thumbnail?
- Why the internal link get converted into a comment?
- Oops! That page can’t be found
- Pull comments from one page/post into another page/post?
- Edit part of a post
- How to write a new file when new post has been published in WordPress
- Mass Mail Plugin to Email Specified User Roles [closed]
- WordPress Membership Plugin Advice [closed]
- Using Amazon Book Gallery Plugins in WordPress [closed]
- Displaying number of drafts in Posts section of admin sidebar [closed]
- WordPress Stats Plugin: Display Post Views [closed]
- WP Editor, save content and category on frontend
- Plugin for TinyMCE to create reference to other posts
- Problem with ajax plugin for refreshing posts
- How to get Facebook comment plugin in blog? [closed]
- Engadget Like most commented plugins
- Does anyone know what’s the plugin for this Comment Section?
- Add posts from other WordPress blog to the current one
- Link Posts to External URL
- Specific plugin for custom user information access? [closed]
- Dynamic Rating Plugin to Add Anywhere
- Plug-in that shows x number thumbnails from another post
- Plugin to create unlimited custom shortcodes?
- A plugin popularity data inside “install new plugin” [closed]
- How to Get Recent 5 post in My Title bar?
- Plugin for visitors to edit content without logging in? [closed]
- How do I allow users to supply a photo/image to be used instead of the grey/white silhouette?
- Managing media by folder
- Adding custom Field To The Posts Listing
- help intercepting save_post through plugin
- WP Insert Post If user refreshes override new post
- Summary and Comments on Main landing Page
- Is there any plugin to show number of clicks on the link?
- Display WordPress comments before the plugins?
- Method/Plugin/Hack to Start a Post with an Writing Outline?
- Automatic recurring payment using YITH subscription and Dokan Stripe
- Update existing post dates to random dates and time
- What snippet do I need to type to show my ACF field show up on my theme?
- Is there a way to make [Table Of Content] plugin while not using revision data?
- Elementor Sidebar not loading when PRO elements plugin is active
- Is it possible to pin a post in second position from top
- page duplication on wordpress that wont stop
- Copy/paste local images not working in WordPress
- Help to Create a Simple Plugin to make a post
- How to change my 3000 Published post status to Draft using PHPMyAdmin
- Enable comments pagination only amp page
- New posts are not showing up on my front page
- WordPress is redirecting me to homepage
- Is there a hook similar to “save_post” which only fires AFTER the post is completely published?
- Personality quiz in wordpress using a plugin
- Adding custom post category to categories widget
- How to display the custom post related blog by category?
- WP Forms not displaying,becomming an fatal error
- Randomize post (and page) IDs on generation
- Access remote SFTP server via WordPress login?
- Moving all wordpress posts from 50 websites to another website
- WordPress hide post from custom post-type on a single page
- How can I see $post object in frontend from functions.php?
- Show post object of any page in frontend
- .com creates automated link in post
- Allow members to create groups on my site
- Trying to add a new feature in my wordpress website
- How to remove WordPress Default Comment? not Facebook
- How to update all in-site redirect URLs to destination URLs at once
- Powerpress upload a podcast without creating a post for it
- automatically set random featured image by category in wordpress on post
- add tags to wordpress post using REST API
- Is it possible to customize a wordpress post from outside dashboard(Something like site.com/post-type/post/?e=post_id)?
- Prefix WordPress Taxonomy Tags With Hashtag Symbol Like Twitter
- Comment restrictions Wodpress
- Create survey that redirects to sidebar menu customized to answers
- Pagination (including title of each page) in a post for a long posts
- Forum creation with bbpress and front end
- Disqus comment system not show
- How to make a page both “private” and “password protected”
- How to put a maximum real-time users limit
- Failed to load resource: the server responded with a status of 500 () post.php
- Plugin to manage form submissions on admin panel
- How is it possible to create Multi part sections where people can answer or comment or vote on various parts of a page’s content as given example?
- How to echo a PHP Code After the Content
- All Post WordPress Page Error
- WordPress Product Detail and catalog
- How to upload PDF from Front-End and post automatically?
- Is it possible to create duplicate post on other site (either push, on publish, or pull, periodically)?
- How to wrap image tag into div for post only?
- How to fix slow comment query?
- How can I get the Post ID and Post Type within a Must Use Plugin?
- WordPress CPT Url metabox collection
- Scheduled emails to include only posts and calendar events for the upcoming week
- Get value from an input field and pass into update_meta_data as $meta_value
- How to see in Edit Comments if comment is from User and her Roles
- Custom content per post in widget
- Identify if the_post hook is being called from the admin post list
- AddThis Plugin adding html comments in P tags
- How to show a message to a user?