WordPress.org

Support

Support » How-To and Troubleshooting » comments_template();

comments_template();

  • 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…

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘comments_template();’ is closed to new replies.