shibonari
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Threaded comments/Replying to comments@esmi
So that I can list all the comments of the posts in the index using <?php comments_template( ‘comments.php’ ); ?> 🙂@t31os
I did enable $withcomments = 1.The comments end up in the right place, they are showing up fine, and the reply box is there too. I can even reply normally, although I end up in the post’s single.php instead of staying at index.php
If it is possible, try modifying the default kubrick index.php and just add $withcomments = 1 and <?php comments_template( ‘comments.php’ ); ?> in the loop in case it’s hard to understand 😛
Thanks for the replies!
Forum: Themes and Templates
In reply to: wp_list_comments and listing commentsThanks alot!
Silly me, I was trying all sorts of stuffs like <?php comments_template(1); ?> and etc but I just realized that I can just add $withcomments = 1;!
Thanks alot for the help, really appreciated it 🙂
Forum: Themes and Templates
In reply to: wp_list_comments and listing commentsHello, thanks for all the responses 😀
I tried
<?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <h2 class="title"><?php the_title(); ?></h2> <div class="reply" id="reply_content_<?php the_ID(); ?>"> <?php comments_template(); ?> </div> <?php endwhile; ?> <?php endif; ?>And I got nothing 🙁
No comments list, no comment reply box.
All I’m trying to do is just display all the post and their comments in the index. :\