WordPress.org

Support

Support » Themes and Templates » [Theme: Skirmish] Date format specific to North America

[Theme: Skirmish] Date format specific to North America

  • I really like the look of this theme, but I had to make a small change as the date format in content.php is ‘month/day/year’, which is not recognised in many parts of the world.

    I changed line 10 of content.php to

    <div class="time"><?php the_date() ?></div>

    so that it uses the default (in Settings -> General from the dashboard) instead.

    http://wordpress.org/extend/themes/skirmish/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi

    I would also like to make this change, but I am new to blogging and code is mostly beyond me. How do I go about finding the content.php for my blog so that I can modify it as you show?

    Many thanks

    Alice

    http://www.bristolbakestress.com

    It depends on whether you host WordPress yourself, or someone else does it for you. I’m probably not the best person to answer this, as I do all this stuff for myself and am not sure where to start explaining 🙂

    Cheers
    – Ian

    http://rainbow.chard.org/

    hey ianchard,

    I am new to wordpress and even I don’t know that this will help you or not but I want to share this with you that which I use in my site.

    date_default_timezone_set(‘America/New_York’);
    echo date(“m/d/Y”);
    echo date(“h:i A T”);

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Theme: Skirmish] Date format specific to North America’ is closed to new replies.