WordPress.org

Ready to get started?Download WordPress

Forums

Ceceppa Multilingua
function to set post language (4 posts)

  1. maxpontello
    Member
    Posted 10 months ago #

    Hello,

    I use the Postie plugin to load articles from a mailbox and publish them on WP. Is it available a function to set the language of a post starting from its ID? I would invoke this function from Postie as soon as the article arrives.

    Thank you for any suggestion
    Cheers
    -max

    http://wordpress.org/plugins/ceceppa-multilingua/

  2. Alessandro Senese
    Member
    Plugin Author

    Posted 10 months ago #

    Now you can't do it...
    I can add 2 function for set/get language from post ID in next update...

  3. maxpontello
    Member
    Posted 10 months ago #

    My opinion is that adding functions of automatic set up of the language increases considerably the versatility of the plugin.

    Thank you a lot,
    -max

  4. Alessandro Senese
    Member
    Plugin Author

    Posted 10 months ago #

    I added the following functions:
    *) cml_get_language_by_slug
    *) cml_get_language_of_post
    *) cml_set_language_of_post

    You can find the complete documentation in "Ceceppa Multilingua" -> "Shortcode & Functions"

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.