Forums

[Theme Manhattan] Incorrect Date Format (4 posts)

  1. kubernaut
    Member
    Posted 9 months ago #

    I have been trying out the excellent Manhattan template today, and many thanks to the author for the time and effort involved.

    However, before uploading this new Manhattan template I used the European date format from within the provided templates (day, month, year) with no problem. But, upon uploading Manhattan, I lost the European format, and despite everythimng that I do, it always reverts back to the 'month, day, and year' format.

    I could learn to live with this US-style date format, but I would like to use the Eurpoean date format if possible. Perhaps I need to change something from within PHP via FTP? Maybe someone knows?

    Thanks for your time - Steve

  2. MichaelH
    moderator
    Posted 9 months ago #

    Link to download that theme, please.

  3. kubernaut
    Member
    Posted 9 months ago #

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

    It seems that the author's site is no longer active.

    Steve

  4. Manhattan
    Member
    Posted 8 months ago #

    From the Manhattan theme author:
    I moved to another site, which is why the theme page no longer links.

    But here is the answer:

    in the archive.php, index.php, search.php and single.php

    there is a function <?php the_date('l, F jS, Y') ?> or
    the_time('l, F jS, Y')

    I forget which. but the 'l,F jS, Y' hardwires the date/time format.

    I pre-set it to the American way. Hey. Manhattan is in America.

    Just change it to <?php the_date() ?> or <?php the_time() ?>

    Remove the 'l,F jS, Y'

    That is all.

    Then you can amend it in the general settings of the dashboard control panel.

Reply

You must log in to post.

About this Topic

Tags