该用户没有最喜欢的主题。
最喜欢的论坛主题
创建的论坛主题
状态 |
主题
|
支持者 | 声音 | 文章 | 新鲜度 |
---|---|---|---|---|---|
Issue with manually translated product attributes (extra slug problem)
1
2
发起人: patrykP-6
中: English Support
Problem: /wp-content/plugins/kadence-blocks-pro/includes/query/query-indexer-woo.php . if ( ! empty( $attribute_values ) ) { $attribute_values_array = explode( ',', $attribute_values ); foreach ( $attribute_values_array as $facet_name ) { $facet_name = trim( $facet_name ); $term = get_term_by('name', $facet_name, $tax_name); if ($term) { $term_id = $term->term_id; } $rows[] = array( 'facet_value' => isset( $term_id ) ? $term_id : 0, 'facet_name' => $facet_name, 'facet_id' => isset( $term_id ) ? $term_id : 0 ); } return $rows; } With: if ( ! empty( $attribute_values ) ) { $attribute_values_array = explode( ',', $attribute_values ); foreach ( $attribute_values_array as $facet_name ) { $facet_name = trim( $facet_name ); $term = get_term_by('name', $facet_name, $tax_name); if ($term) { $term_id = $term->term_id; } //WPML workaround for compsupp-7812 $languages = apply_filters( 'wpml_active_languages', NULL); if ( !empty( $languages ) ) { foreach( $languages as $language ){ $term_id = apply_filters( 'wpml_object_id', $term_id, $tax_name, TRUE, $language['language_code'] ); $rows[] = array( 'facet_value' => isset( $term_id ) ? $term_id : 0, 'facet_name' => $facet_name, 'facet_id' => isset( $term_id ) ? $term_id : 0 ); } } } return $rows; } 4. After making these changes, go to your default language product and click update to create a re-index for the loop. Please note that this solution might become outdated or may not apply to your specific case. If this solution does not resolve your issue, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket. |
|
0 | 20 | 1 weeks, 4 days前 | |
Credit calculation
发起人: patrykP-6
中: English Support
Problem: If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum. |
|
0 | 2 | 3 weeks, 1 days前 | |
update from December 19th – issue with a 500 Internal Server Error
发起人: patrykP-6
中: English Support
Problem: flush_rewrite_rules(true) function, which can alter the rewrite rules in your .htaccess file. This could be causing the issues on your WordPress site. For more detailed information, please visit https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/. If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If issues persist, please open a new support ticket at WPML support forum. |
|
0 | 3 | 1 months前 | |
Website Performance
发起人: patrykP-6 中: English Support |
|
0 | 6 | 2 months, 2 weeks前 | |
SLUG single product
发起人: patrykP-6
中: English Support
Problem: Translatable—only show translated items and Translatable—use translation if available or fallback to default language for Products in WPML → Settings → Post Types Translation to see if it resolves the issue. If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket at WPML support forum for further assistance. |
|
2 | 13 | 3 months, 3 weeks前 |