Forums

How do I show comment on non wordpress page (2 posts)

  1. ameharhughes
    Member
    Posted 1 year ago #

    Hi

    I have a website (www.blacknblue.org.uk), made using html and css and php includes for the header footer and siderbar.

    I have installed wordpress to http://www.blacknblue.org.uk/blog folder.

    My question is can I have an excerpt from a post AND show a few comments on the main website. I can get the post but cant find anything about showing the comments.

    Thanks for all help in advance

  2. doodlebee
    Member
    Posted 1 year ago #

    The comments are linked to the post ID. If you've managed to pull in the post to the main site, then within that Loop for the post, you need to add the comments template call. (you probably want wp_list_comments instead of the entire form, et al, but it'll display comments on that post based on the settings in your WP install)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.