WPML
Status
Resolved by author
Related plugin/theme
Dynific Addons for Elementor Pro
Topic tags
Compatibility

Overview of the issue

If you are using Anywhere Elementor Pro, you will notice that the dynamic rules applied to widgets within Elementor templates do not apply to translated versions of the archives.

Workaround

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


  • Open …/wp-content/plugins/anywhere-elementor-pro/includes/modules/dynamic-rules/module.php file.

  • Look for line 723.

  • Replace:
    					$value           = $rule[ 'ae_rule_' . $key . '_' . $post_term_types . '_value' ];

  • With:
    					$value           = $rule[ 'ae_rule_' . $key . '_' . $post_term_types . '_value' ];
    					foreach ($value as $wpml_tag_id) {
    						$wpml_translated_ids[] = apply_filters('wpml_object_id', $wpml_tag_id, 'product_tag');
    					}
    					$value = $wpml_translated_ids;

All known issues →