WordPress.org

Ready to get started?Download WordPress

Forums

comments_template(); (2 posts)

  1. Hairudy
    Member
    Posted 5 years ago #

    Hi all blogger,

    i have a simple question for you. my problem is, i just need my comment text display only from my mainpage...

    <?php
             global $wp_query;
             $wp_query->is_home = false;
             $wp_query->is_single = true;
             comments_template();
             //comment_text();
             $wp_query->is_home = true;
             $wp_query->is_single = false;
    ?>

    i just use this code...but i dont want display the form... just the text and name. thanks...

  2. Hairudy
    Member
    Posted 5 years ago #

    bump...

Topic Closed

This topic has been closed to new replies.

About this Topic