Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey armwebmaster,

    thanks for reaching out! The thing is that in order to display posts in the current language, WPML applies filters to WordPress queries but, and this is the important point here, only if the WordPress query allows filters to be applied. Unfortunately our plugin uses get_posts, not query_posts so filters can’t be applied. We need this not also for better performance but also better relevancy. All I can suggest for the time being is, that you manually edit related posts and pick the right ones. I know this is time consuming and I am truly sorry for the inconvenience! Please let me know if there is anything else I can help you with.

    Take care and have a nice weekend,
    Petra

    Thread Starter armwebmaster

    (@armwebmaster)

    Hi PetraP, thanks for answer, but can you get current language of wpml and filter posts in your plugin ? , you can get exist wpml or no exist, and if exist wpml get current languge and set to action filtered posts…

    Hey,

    thanks for getting back to me! I have forwarded your request to our engineers and they will see what they can do. Stay tuned 🙂

    Best,
    Petra

    Thread Starter armwebmaster

    (@armwebmaster)

    Thanks for support ! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Show all WPML posts in all languages’ is closed to new replies.