• Hi

    I have built a site using a theme from Themeforest. I have tried the theme creator for help but he doesnt know the answer.

    If you look on this page
    http://nicolasbonato.com/?cat=7

    I have the date format in the main column of the page correct, but in the sidebar it is formatted in english.

    can anyone tell how I would correct this so that in the sidebar it is showing in french as well.

    Thanks for any help

    Phil

Viewing 4 replies - 1 through 4 (of 4 total)
  • Are you using a plugin or a widget or something called Custom Popular Posts?

    Thread Starter philingle

    (@philingle)

    There is a Custom Category Posts widget that comes with the theme that I am using.

    I have found this code in the theme files

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Is it in there somewhere?

    Thread Starter philingle

    (@philingle)

    Hi

    Sorry, didnt realise I couldnt paste code. it is here now

    http://pastebin.com/pacGnATS

    Cheers

    Thread Starter philingle

    (@philingle)

    I have narrowed it down a bit. In some places the theme uses the following code

    <span class="post_detail"><?php echo get_the_time('F j, Y', get_the_ID()); ?>

    and then elsewhere it uses the code

    $return_html.= '<div class="post_detail">'.date('F j Y', strtotime($post->post_date));

    I think that I need to modify the format of the second bit of code to make it come up properly in French. but dont really know what I need to do. Any advice happily accepted

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Control date format’ is closed to new replies.