The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Comments Off text (2 posts)

  1. mystifier
    Posted 6 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 6 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


No tags yet.