WordPress.org

Ready to get started?Download WordPress

Forums

Post Expirator
[resolved] Localization of date formatting and using attributes (3 posts)

  1. amaes
    Member
    Posted 2 years ago #

    Hi,
    Thanks for this wonderful plugin. My website would be unusable without it.

    How could I make the [postexpirator] tag display the date in my local language, the language my WordPress install is set in? I already changed the date formatting but the month and day of the week still display in English. I broke the plugin trying to make it use the date_i18n() function and had to revert.

    Also how exactly do you make the [postexpirator] tag display the date only? I don't really understand how to use the attributes.

    Many thanks

    http://wordpress.org/extend/plugins/post-expirator/

  2. Aaron Axelsen
    Member
    Plugin Author

    Posted 2 years ago #

    What language are you trying?

    You should be able to change "date" to "date_i18n" at the end of the "postexpirator_add_footer" function.

    I need to do some more testing, but pending no issues I can push out this fix.

  3. Aaron Axelsen
    Member
    Plugin Author

    Posted 2 years ago #

    I did some additional testing and this should be solved in 1.5.5 due out later today.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.