דלג על ניווט

Resolved

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.