• I recently installed 3.4.2 and my custom comments template is no longer being loaded. It was working in prior versions of WordPress (I’m not exactly sure at what point this stopped working)

    My themes page.php has the line:
    <?php comments_template( ‘/commentsGUEST.php’ ); ?>

    But the commentsGUEST.php is not loaded so WordPress defaults to default comments. Again, this function was working fine in prior versions of WordPress.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try renaming commentsGUEST.php to comments.php, use ?php comments_template(); ?> and see if that works.

    Thread Starter smartucus

    (@smartucus)

    Great idea BUT my theme uses a different format for comments depending on the page they are made from.

    I need multiple comment templates.

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

The topic ‘'comments_template' does not load the template’ is closed to new replies.