WordPress.org

Ready to get started?Download WordPress

Forums

help ,, ssimple thing (6 posts)

  1. Scatteril
    Member
    Posted 3 years ago #

    hi guys ., i need help
    how can i modify the " no comment" in my blog
    like this :http://up.abdull4h.com/uploads/images/sca97a76484a2.png
    I just need the name of the source file (php) then i can modify it by myself

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Try looking through your theme's template files.

  3. Scatteril
    Member
    Posted 3 years ago #

    i have tried but nothing so far
    i dont know the exact file

  4. Scatteril
    Member
    Posted 3 years ago #

    help me

  5. esmi
    Forum Moderator
    Posted 3 years ago #

    A screenshot is of no use. What might help is a link to a page demonstrating the problem and a reasonably detailed description of the issue.

  6. Connor Montgomery
    Member
    Posted 3 years ago #

    Hi Scatteril,

    In your theme's index.php file, there should be something like <?php comments_number.... ?>. Depending on how you want to modify it, you can do a few things:

    For example, if you want to have it say 'no comments' when there are none, 'one comment' when there is one, and '[insert number > 1]' comments' when there is more than one, you would use the following syntax: <?php comments_number('No comments','One comment','% comments'); ?>.

    You can read more about it here.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.