• Anyone know the code to place just the comments/comment form, of the most recent post, on it’s own page? I’ve tried a couple different things, but nothing seems to work. Thx

Viewing 4 replies - 1 through 4 (of 4 total)
  • Have a look at the WordPress Codex. You could, in principle, just use the functions that fetch comments and print them out. Alternatively, you could graft the comment bit from index.php and put it in a separate (and new) php file. Have a look… try to isolate that code bit or start from index.php and strip off the unwanted bits, saving the file under a different name, e.g. comments-only.php.

    Thread Starter the_rob

    (@the_rob)

    I tryed that. I keep getting the link to the comments page, but not the comments themselves, or a php error. What I need is fetch-recent-post, or a counter to retrieve the most recent comments. Thx for the responce though. I’ll keep hammering at it.

    I said something misleading. Comments code is not contained in index.php directly. It is in wp-comments.php IIRC.

    Thread Starter the_rob

    (@the_rob)

    Eh, well I’m still stuck. I’m not sure if I was making it clear, but what I’m looking for is an individual post page, without the post. I just want the comments on the page, along with the ability to add a comment. Any ideas? This can’t be difficult. Unfortunately, I can’t figure it out. thx

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Comments Only Page’ is closed to new replies.