Skip Navigation

Open

Topic Tags: Compatibility

Overview of the issue

An issue has been identified where the Translatable – use translation if available or fallback to default language feature of WPML does not work as expected with the Post Types Order plugin when used in conjunction with grids created by the WP Grid Builder plugin. This results in displaying content only in the specific languages where it was created.

Workaround

Please, make sure of having a full backup of your site before proceeding.

  • Open …/wp-content/plugins/post-types-order/include/class.cpto.php file.
  • Look for line 112.
  • Replace:
                        if ($options['autosort'] == "1")
    
  • For:
                        if ($options['autosort'] == "1" && ! class_exists('Sitepress') )
    

Please, keep in mind that you would need Advanced Post Types Order for full WPML functionality.

Alternatively, you can consider using the Duplicate option in bulk from within the WPML > Translation Management page or a plugin as Admin columns Pro.

Leave a Reply

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>