Support » Fixing WordPress » Comment Author PHP file

  • Resolved Bolletje



    I’m currently building a new website (w/ WP 3.0.1) and everything is going well so far. The website is for some Dutch users so I’ve used the Dutch (NL) language files (.po and .mo), but they are for WP 2.9.

    However, I only need a small change concerning the comments.

    I have made some pictures from what it is at the moment and what I would like have it to be.

    This is the current lay-out:

    This is what I want:

    This is the code:

    <div class="comment_author left">
    			test			<div class="comment_date"><a href="#comment-27" title="">augustus 2nd, 2010 at 17:36</a>  | <a class="comment-edit-link" href="" title="Reactie bewerken">Edit comment</a></div>

    The problem is that I can’t find the PHP file containing this code (Post, Category, that all went fine).

    I only need to change the text and the followup of the code (and change jS to only j with the date)

    So if some can help me with it then I would be a happy man 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • DigitalSquid


    For the comment text, it depends on which theme you’re using but if it’s not in your comments.php template then it’s probably in in the Theme Functions (functions.php) template.

    As for changing the date, you’d be better off doing it from your Control Panel > Settings > General > Date Format

    Uhu, the PHP files for changing the date for individual posts (Posted by… etc) or for the Category are indeed in the Theme Files.

    However, I can’t find a similar build-up for the time the comments are posted.

    Functions like ‘Reply to this post’ or the comment form can be changed.

    And changing the time lay-out in the Control Panel doesn’t changes anything :s


    I found it!

    How could I be so stupid and ignorant 😛
    I changed a file name so I could work on another one. However, I also changed the filename (or location) in the other PHP files, so it was getting the old information all the time 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Comment Author PHP file’ is closed to new replies.