Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #7376

    I’m not using the comment function so I would like to remove this totally in all post. Can you tell me how to do this?

    #57720

    Hey,

    delete following code in single.php:

    <div class='entry commententry'>
    <?php comments_template(); ?>
    </div>

    #57721

    Thanks for this..

    Actually I would like to remove is the “No Comments” text and icon underneath every post title — in all template/pages.

    #57722

    Thanks for the instruction. When I check each post (each page), there is no “date”, “comments off” and “by author” under the post title.

    Unfortunately, these texts are still come up when I check the main front page/ index page (landing page). How can I delete it? I am talking about the front page with sliders, under the sliders there are spaces for article appearances, under those article titles, “date”, “comments off” and “by author” can still be seen. I’m using Newscast template. Thank you very much for your help and support. Kind regards.

    #57723

    Webcadre,

    In your style1.css find

    .entry-head .comments{

    here, between the brackets add:

    display:none;


    Patrick,

    in your style.css find

    .entry-head{

    here, between the brackets add:

    display:none;

    Let me know if it works :)

    #57724

    Hi Chris,

    Thank you so much. It works.

    Kind regards,

    Patrick

    #57725

    Glad that I could help :)

    #57726

    Thanks Chris. It worked

    Just one more question related to this. I noticed that the Author is not being shown in when posts are presented in “Small articles”. It only show the Date by default. Is possible to show the author as well in Small article format?

    Thanks,

    #57727

    The problem is that there’s not enough spaace for the author meta data. You can add it however the result looks wired. In index.php & archive.php replace:

    <div class="entry-head">
    <span class="date ie6fix"><?php the_time('M d, Y') ?></span>
    <span class="comments ie6fix"><?php comments_popup_link(__('No Comments','newscast'), __('1 Comment','newscast'), __('% Comments','newscast')); ?></span>
    </div>

    with:

    <div class="entry-head">
    <span class="date ie6fix"><?php the_time('M d, Y') ?></span>
    <span class="comments ie6fix"><?php comments_popup_link(__('No Comments','newscast'), __('1 Comment','newscast'), __('% Comments','newscast')); ?></span>
    <span class="author ie6fix"><?php _e('by','newscast');?> <?php the_author_posts_link(); ?></span>
    </div>

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘how to remove "No Comments"’ is closed to new replies.