• In the home.php template i’m using the below method to display comments for a single post in my first loop:

    <?php $wp_query->is_single = true; ?>
    <?php comments_template(‘/includes/home_comments.php’); ?>
    <?php $wp_query->is_single = false; ?>

    Later in the template I’m running the loop again trying to display the other posts in that same category, but only one post is showing up. Modifications to the query_posts() doesn’t seem to get me anywhere.

    Any thoughts on this one?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Display Both single and multi view posts in home.php’ is closed to new replies.