WordPress.org

Forums

Hueman
Alex: please improve date format (6 posts)

  1. csigncsign
    Member
    Posted 12 months ago #

    Hi Alex,

    could you please improve the date format of HUEMAN?

    It is really lots of work and files to change, just to change the date format for other languages like German. If you'd use the admin format everywhere, it would be much better:

    <?php the_time(get_option('date_format')); ?>

    instead of

    <?php the_time('j M, Y'); ?>

    thanks, appreciate!

  2. csigncsign
    Member
    Posted 12 months ago #

    Please write in English!

  3. That was spam an has been taken care of.

  4. makabe
    Member
    Posted 12 months ago #

    Will be great, if Alex upgrade this in next version:

    content.php
    content-featured.php

    <h2 class="post-title">
    for
    <h2 class="post-title entry-title">

    <p class="post-date"><?php the_time('j M, Y'); ?></p>
    for
    <p class="post-date date updated"><?php the_time('j M, Y'); ?></p>

    single.php

    <h1 class="post-title"><?php the_title(); ?></h1>
    for
    <h1 class="post-title entry-title"><?php the_title(); ?></h1>

  5. csigncsign
    Member
    Posted 12 months ago #

    Yes, but the date format is also in

    1. alx-posts.php
    2. alx-tabs.php
  6. Alexander Agnarson
    Member
    Theme Author

    Posted 12 months ago #

    Hi!

    The reason the admin-date is only used in the single.php file, is because if any of the date formats are set that to the longer ones (more than 6 chars), it could break the layout and not look so good.

    I thought about it, but opted not to for that reason. I want to stop users from breaking it as much as possible (most are never changing these options), although I understand it would be a lot easier for those who wish to use another format. It's a bit 50/50.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.