The date, simply put…

dev.xiligroup est en travaux Forums xili-language plugin The date, simply put…

Ce sujet contient 0 réponses et 2 voix, et a été mis à jour par  xiligroup dev il y a Il y a 13 ans, 5 mois.

Visualisation du message 3 (1 sur 3, 3 au total)
  • Auteur
    Articles
  • #2929

    xiligroup dev
    Keymaster

    Have you examine the demo child theme v1.1 ?

    http://multilingual.wpmu.xilione.com/308/episode-n°2-creation-dun-site-multilingue-avec-xili-language/

    To have the right date, you must use dating as in twentyten and don’t forget to translate date format in .mo (via xili-dictionary or poedit)…

    (If you are easy in php, you can also see the source code to discover the methods used by plugin to translate).

    Good work

    #2930

    Anonyme

    Yes I have examined this theme, but I just get lost: a child theme, of a theme that I am not using, with functions embedded in a file which is in a subfolder of this child theme, referring to the plugin! The structure si way too complex for me.

    My origninal question was: the date, simply put. I guess that there is no simple way to achieve this, without being an experienced PHP progammer.

    In the best case scenario, there would be a text box in the plugin option page where we would simple enter the format of the date.

    #2931

    xiligroup dev
    Keymaster

    Please take a little time…

    basically twentyten and his function twentyten_posted_on() { use get_the_time without param… and it’s work as in child..

    It means that wp+xili-language translate the date format set in general settings. If you want your own format, you must used __() function to set your target date format… (and his translation in other language in .po + .mo)…

Visualisation du message 3 (1 sur 3, 3 au total)

Vous devez être connecté pour répondre à ce sujet.