WordPress.org

Ready to get started?Download WordPress

Forums

Comments Off text (2 posts)

  1. mystifier
    Member
    Posted 4 years ago #

    One very minor change would be great - change the 'Comments Off' text to '' or at least make it settable in wp-config.php

    Many blogs/websites don't want to use comments at all so the 'Comments Off' text is simply a redundant eye-sore.

    It is the first of several minor hacks I have to make after every update.

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Ideally this should be dealt with via the theme - not through a core hack.

    <?php if('open' == $post->comment_status) : ?>
    <?php comments_popup_link(__('Comment on ') .$post->post_title, __('1 Comment on ') .$post->post_title, __('% Comments on ') .$post->post_title,'postcomment',__('Comments are off for ') .$post->post_title); ?>
    <?php endif;?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.