New Landing How can we help? Themeforest Theme Support Supreme Header month in english (in a spanish site)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Supreme
  • #146196
    newhouse
    Member
    Post count: 11

    Hello,

    In the header, the month appears in english. It’s a spanish site and this is wrong. However, in each post, the month appears OK.

    Do I need to change some code in the header?

    Thank you for your help.

    Attachments:
    You must be logged in to view attached files.
    #146274
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    In header.php

    Can you try to change this line

    <div id="top-bar-date"><?php echo date(get_option('date_format')); ?></div>

    by this one

    <div id="top-bar-date"><?php echo date_i18n(get_option('date_format')); ?></div>

    Let us know if it works.

    -Rui

    #146636
    newhouse
    Member
    Post count: 11

    Hi,

    It works now perfect.

    Thank you very much.

    Mikel

    #146675
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome. Great thanks to Rui.
    Thanks
    Mohammad

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register