Add "Comments" before comment icon & count

  • Author
    Posts
  • #45149

    On the home page, in the post meta, I’d love to add the word “Comments” before the comment icon and comment count. I was able to do this in the past for Nirvana, Tempera, and Parabola using code similar to the following. Does this code still work with Septera, or does it need to be tweaked?

    / Show COMMENTS in meta
    function nirvana_comments_on() {
        global $nirvanas;
        foreach ($nirvanas as $key => $value) { ${"$key"} = $value; }	
            if ( comments_open() && ! post_password_required() && $nirvana_blog_show['comments'] && ! is_single()) :
                print '';
                printf ( comments_popup_link( __( 'Comments: 0', 'nirvana' ), __( 'Comments: 1', 'nirvana' ), __( 'Comments: %', 'nirvana' ),(''),__('Comments: -','nirvana') ));
                print '';
            endif;
    }
    ?>

    Website: stampwithpeggy.com

Viewing 1 post (of 1 total)

The topic ‘Add "Comments" before comment icon & count’ is closed to new replies.