• Hi All,

    I am kind of new WordPress. I have a WordPress site running successfully with a blog. I have used the information from the url below to grab blog posts from my wordpress site and post them to my site using php. My question is, is there a simple way to grab comments approved to separate site alongside blog posts as well?
    https://codex.www.ads-software.com/Integrating_WordPress_with_Your_Website
    I couldn’t find any clear instructions on this. For example: I would like to grab comment id, comment date, comment and appear underneath the blog post. I am sure people have implemented this into external sites before.

    Any feedback would be greatly appreciated.

Viewing 1 replies (of 1 total)
  • Thread Starter dsachdev

    (@dsachdev)

    Hello All,

    So I found the ability to be able to pull comments from wp-comments table in mySQL database. However, since wp-posts and wp-comments don’t share any similar attributes, I am trying to figure out a way to display approved comments to any posts published. For example, if blog post has an approved comment, show underneath post with comment author and date otherwise, just display post. I am thinking I am not the only one here that is trying to do this. Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘Is there a way to grab comments approved from blog posts to display on a site?’ is closed to new replies.