Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter ArtGoddess

    (@artgoddess)

    Hello,

    Seems adding this in wp-realtime-sitemap.php

    line 1677: ‘suppress_filters’ => false in get_posts solves this.

    Please add it in future upgrades. Thank you!

    I actually put the ‘suppress_filters’ part in the code for custom post types.

    But i read you make it compatible with WPML, how did you do so ?

    Thanks in advance ^^

    Well i look into the code and it would be difficult to adjust it without entering deep inside… no ?

    Thread Starter ArtGoddess

    (@artgoddess)

    Kitefr,

    Just add in wp-realtime-sitemap.php file, line 1677, this code:

    'suppress_filters' => false

    It works for me.

    Let us know!

    Yes it works !

    So i added it twice in the Posts part of the code for the regular posts to be compatible as well ^^

    Thanks !

    Thread Starter ArtGoddess

    (@artgoddess)

    Great! Thanks for your suggestion, there are two more “get_posts” in code.

    Hope the author applies the solution ina future update.

    Thanks!

    Plugin Author Rincewind

    (@rincewind)

    Just trying to implement this change, but you say to put it in the get_posts function?

    There is no mention of this on here.
    https://codex.www.ads-software.com/Function_Reference/get_posts

    Are you sure that’s where you put the code?

    Thread Starter ArtGoddess

    (@artgoddess)

    Hello Rincewind,

    I have added the code in lines: 1607, 1641 and 1679, always inside the get_posts array.

    Seems to work fine in my site: https://bit.ly/JMe7De

    WPML has a program where author plugins can ask for assistance in make their plugins WPML compatible.

    If you achieve the compatibility, your plugin can be shown here: https://wpml.org/documentation/essential-multilingual-plugins/

    I suppose the best thing you can do is to ask them directly.

    Please, let us know in this thread if this solution is valid.

    Thank you for your time and effort.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: WP Realtime Sitemap] WPML compatibility’ is closed to new replies.