Is there a way to select and display the last X approved comments regardless of which posts or categories they belong to ?
I just want to show on my home page the last comments added on my site, but I can't find anywhere how to do that.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community
Use get_comments() and don't pass a post id.