get_posts comments template ?
-
Hi guys,
I’m having some problems trying to call for a specific post in my sidebar, and allowing at the same time the comments for that post be visible (and active !)
Does anybody knows if there’s some incompatibility ?
I have a normal loop, a rewind_posts function to allow more tha one loop, and here it goes my ‘secondary-loop’ :
<?php $posts = get_posts('include=440'); foreach($posts as $post): setup_postdata($post); ?> <?php comments_template(); ?> <?php endforeach; ?>
It doesn’t work even if I call for the_content.
My comment’s template is that from the default theme.
Please help
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘get_posts comments template ?’ is closed to new replies.