• i’m currently not using comments pop-up. i want to change the template of the page that the user gets sent to when s/he clicks on the comments link. Docs say i can do this by a parameter on the comments_link() tag. But i’m clueless of how to begin a template from scratch. I know the comments page is using the appended ?= values so that it displays only certain things from the index. so exactly where do i use those appended values in the template that i’ll be making? thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • What about these pages:
    wp-comments-post.php
    wp-comments-reply.php
    wp-comments.php

    Thread Starter yukie

    (@yukie)

    i’ve just checked out those files. i’m confused.
    if a visitor clicks on the comments link of an entry (and pop-up is off), isn’t s/he directed to index.php again, only with some values appended? if that is the case, then where are the above files used?
    isn’t the whole logic like this: if I access index.php with nothing appended, i get the regular index page. but if i add something like ?p=3 or something, index.php uses that value to generate the page differently, right? or am i confused?

    Yes, but look into index.php: <?php include(ABSPATH . 'wp-comments.php'); ?>. wp-comments is included. What it displays depends on whether you’re on a single post page or not, by default.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘help with alternate templates’ is closed to new replies.