Support » Plugins » Help I can’t find ‘comments’ lang

  • 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

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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’ .

    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.

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

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

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

    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’?

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

    Yeah, so I use something like:
    comments_popup_link(‘No Comments’, ‘1 Comment’, ‘% Comments’);
    on 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. 😉 ).

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Help I can’t find ‘comments’ lang’ is closed to new replies.