SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Aug 2006
    Posts
    288
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Utilizing worpress comments in non wordpress pages?

    Hello,

    I integrated the front end of another application into wordpress. That other application creates its own pages that now sit within the wordpress template.

    I was wondering if there is a way to utilize wordpress comments for those pages. Is there is a way to have comments for something that it is not a wordpress post or page.

  2. #2
    _ silver trophy ses5909's Avatar
    Join Date
    Jul 2003
    Location
    NoVa
    Posts
    5,466
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Do these other pages have access to the WP functions (you say the sit within the template)? If so then it won't be a problem and if not, you will just need to create sql commands to pull the comments. It would really be an easy sql statement and then the matter of looping through the result set.
    Sara

  3. #3
    SitePoint Addict
    Join Date
    Aug 2006
    Posts
    288
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, those other pages do have access to the WP functions. (but there is no "Loop" since there is no WP post or page displayed)

    However what I need is not just to pull comments, but also to enter comments for those other pages. What I noticed is that in WP database each comment is associated with a post ID. The pages created by this other application do not have a WP post ID.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •