Need help? Check out our Support site, then


Strange date in comments??

  1. Hello,

    I have a question about a strange date above the placed comments. I see this:%d/%m/%y at %H:%M

    i looked into my comments.php , but what do i have to change?

    <?php

    /**
    *
    * comments.php
    *
    * The comments template. Used to display post or page comments and comment form.
    *
    * Additional settings are available under the Appearance -> Theme Options -> Comments.
    *
    */

    if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
    die ('Please do not load this page directly. Thanks!');

    if (post_password_required()) {
    theme_post_wrapper(array('content' => '<p class="nocomments">' . __('This post is password protected. Enter the password to view any comments.', THEME_NS) . '</p>'));
    return;
    }

    if (have_comments()){
    ob_start();
    printf( _n( 'One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), THEME_NS ), number_format_i18n( get_comments_number() ), '' . get_the_title() . '' );
    theme_post_wrapper(array('content'=>'<h4 id="comments">' .ob_get_clean() . '</h4>'));
    $prev_link = get_previous_comments_link(__('Newer Comments <span class="meta-nav">→</span>', THEME_NS));
    $next_link = get_next_comments_link(__('<span class="meta-nav">←</span> Older Comments', THEME_NS));
    theme_page_navigation(array('prev_link' => $prev_link, 'next_link' => $next_link));
    echo '<ul id="comments-list">';
    wp_list_comments('type=all&callback=theme_comment');
    echo '';
    theme_page_navigation(array('prev_link' => $prev_link, 'next_link' => $next_link));
    }
    if (function_exists('comment_form')){
    ob_start();
    $args = array();
    if(theme_get_option('theme_comment_use_smilies'))
    {
    function theme_comment_form_field_comment($form_field){
    theme_include_lib('smiley.php');
    return theme_get_smilies_js() . '<p class="smilies">' . theme_get_smilies() . '</p>' . $form_field;
    }
    add_filter('comment_form_field_comment', 'theme_comment_form_field_comment');
    }
    comment_form();
    theme_post_wrapper(array('content' => str_replace(array(' id="respond"', 'type="submit"'), array('', 'class="art-button" type="submit"'), ob_get_clean()), 'id' => 'respond'));
    return;
    }

    if ('open' == $post->comment_status) {
    ob_start();
    ?>
    <h3 id="comments-title"><?php comment_form_title( __('Leave a Reply', THEME_NS), __('Leave a Reply to %s', THEME_NS) ); ?></h3>
    <div class="cancel-comment-reply"><small><?php cancel_comment_reply_link(); ?></small></div>
    <?php if ( get_option('comment_registration') && !$user_ID ) : ?>
    <p><?php printf(__('You must be logged in to post a comment.', THEME_NS), get_option('siteurl') . '/wp-login.php?redirect_to=' . urlencode(get_permalink())); ?></p>
    <?php else : ?>
    <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    <?php if ( $user_ID ) : ?>
    <p><?php printf( __( 'Logged in as %2$s. Log out?', THEME_NS), admin_url( 'profile.php' ), $user_identity, wp_logout_url(get_permalink())); ?></p>
    <?php else : ?>
    <p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
    <label for="author"><small><?php _e('Name', THEME_NS); ?> <?php if ($req) _e("(required)", THEME_NS); ?></small></label></p>
    <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
    <label for="email"><small><?php _e('Your email address will not be published.', THEME_NS); ?> <?php if ($req) _e("(required)", THEME_NS); ?></small></label></p>
    <p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
    <label for="url"><small><?php _e('Website', THEME_NS); ?></small></label></p>
    <?php endif; ?>
    <!--<p><small><?php printf( __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s', THEME_NS), ' ' . allowed_tags() . '' ) ?></small></p>-->
    <p><textarea name="comment" id="comment" cols="40" rows="10" tabindex="4"></textarea></p>
    <p>
    <span class="art-button-wrapper"><span class="art-button-l"> </span><span class="art-button-r"> </span>
    <input class="art-button" type="submit" name="submit" tabindex="5" value="<?php _e('Submit Comment', THEME_NS); ?>" />
    </span>
    <?php comment_id_fields(); ?>
    </p>
    <?php do_action('comment_form', $post->ID); ?>
    </form>
    <?php endif;?>
    <?php
    theme_post_wrapper(array('content' => ob_get_clean(), 'id' => 'respond'));

  2. You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you'll find help at the WordPress.org forums.

    If you don't understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It'll help people to answer your question.

    This is an automated message.

  3. That's not a WordPress.com blog. You are posting to the wrong support forum. Your question is about a self-hosted WordPress blog and you'll find help at the WordPress.org forums. http://wordpress.org/support/

  4. Ok, i am sorry then, thanks

  5. You're welcome.

  6. Can you then tell me please where i can place this question maybe?

  7. You must post here for support http://wordpress.org/support/ and if you have not registered an account there then you can do that on the top right hand corner of the page I just linked to.

Topic Closed

This topic has been closed to new replies.

About this Topic