WordPress.org

Forums

Help I can't find 'comments' lang (9 posts)

  1. mtanner
    Member
    Posted 11 years ago #

    I know this is a silly request but I need help finding the 'comments' language. I searched all over for it but no luck. What I'm trying to do is edit the comments include thats shows up at the end of a post to read:
    'Comments For This Article (0)'
    INSTEAD of the default 'Comments (0)'
    Does anyone know were to change this? Thanks in advance

  2. Cena
    Member
    Posted 11 years ago #

    In the CVS, it's in template.functions.php (which would correspond to b2template.functions.php in a released version.) Do a search in your text editor for 'comments', or, in the cvs, for a function called 'comments_number' .

  3. Anonymous
    Unregistered
    Posted 11 years ago #

    aren't the text for the comment changeable in the index.php file?
    in the version .72 i can do that in the index.php file :S.

  4. Cena
    Member
    Posted 11 years ago #

    D'oh! Maurice, anonymous' suggestion is much better than my own.

  5. notthatugly
    Member
    Posted 11 years ago #

    It goes in the parameters for comments_popup_link:
    < ? php comments_popup_link('Comments For This Article (%) '); ? >

  6. mtanner
    Member
    Posted 11 years ago #

    Thanks all for the quck replies. On x-mas eve too, wow!

  7. mtanner
    Member
    Posted 11 years ago #

    Oops one more thing, this is what confused me on my original search. In index.php the comments_popup_link reads <?php comments_popup_link('Comments (0)', 'Comments (1)', 'Comments (%)'); ?> Do I change all instances of the word 'comments'?

  8. mtanner
    Member
    Posted 11 years ago #

    Sorry played around with it and answered my own question, thanks again.

  9. davidchait
    Member
    Posted 11 years ago #

    Yeah, so I use something like:
    comments_popup_link('No Comments', '1 Comment', '% Comments');
    on http://www.chait.net. Actually, I preface that with
    if (!($withcomments) && !($c))
    to filter out the popup link on the actual comments page (as it is 'duplicated functionality' since the input box is at the bottom of all the comments anyway. ;) ).
    =d

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.