Support » Plugin: WP Realtime Sitemap » [Plugin: WP Realtime Sitemap] WPML compatibility

Viewing 8 replies - 1 through 8 (of 8 total)
  • Diana



    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 ?




    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 !



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

    Hope the author applies the solution ina future update.


    Plugin Author 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.

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

    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:

    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:

    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.