WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Comment Author PHP file (3 posts)

  1. Bolletje
    Member
    Posted 3 years ago #

    Hi,

    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:
    http://tweakers.net/ext/f/Z8NIvfHkjz4gCbKPG9AHKu53/full.png

    This is what I want:
    http://tweakers.net/ext/f/dwZ38hvuxRD6h0U9qVdfMqRF/full.png

    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="http://www.test.nl/wp-admin/comment.php?action=editcomment&c=27" title="Reactie bewerken">Edit comment</a></div>
    		</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 :)

  2. DigitalSquid
    Member
    Posted 3 years ago #

    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

  3. Bolletje
    Member
    Posted 3 years ago #

    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

    Edit

    I found it!

    How could I be so stupid and ignorant :P
    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 :)

Topic Closed

This topic has been closed to new replies.

About this Topic