Two comment templates, only one working
-
Would be very grateful for any insight on this..
I’ve built a custom theme and I’m trying to run two comment-templates. I have the original comments.php and the another called commentsLina.php and I call them with:
<?php comments_template(); ?>
and<?php include (TEMPLATEPATH . '/commentsLina.php'); ?>
This works fine for my original comments-template, but in my new template, I only get the “input new comment” -part and not the actual comments. The comments in the origninal template is called with
<?php wp_list_comments('callback=laundryComments'); ?>
(with a custom output stated in my functions.php) but neither that nor<?php wp_list_comments(); ?>
works in my second comments template.If anyone has any ideas on what’s going on here, I’d be very happy. Please tell me if you need more of my code or need to see a live example.
All the best,
/Carl-Johan
- The topic ‘Two comment templates, only one working’ is closed to new replies.