Skip Navigation

Resolved

Resolved in: WPML 4.4.4

Overview of the issue

If you are using Elementor Pro plugin and you create a header with a condition to display it only on Any child of a page, the correct header will not be displayed on the translated page.

Workaround

You can manually select the conditions for your child pages.

Or, you can apply this code:

  1. Make a full backup of your site.
  2.  Open wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/page-builders-elementor/src/class-wpml-elementor-translate-ids.php.
  3.  Find the line:
    if ( ! $element_type ) {
  4. Replace it with:
    if ( ! $element_type || $element_type === "any_child_of" ) {