此用户没有收藏的主题。
收藏的论坛主题
创建的论坛主题
| 状态 |
主题
|
支持人员 | 参与者 | 帖子 | 最新活动 |
|---|---|---|---|---|---|
|
Translating lists with two levels
发起人:Mary
在:English Support
Problem: 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. Additionally, you can open a new support ticket for further assistance at WPML support forum. |
|
0 | 13 | 6 months, 2 weeks前 | |
|
Can’t translate properly since WPML change in applying markers
1
2
发起人:Mary
在:English Support
Problem: |
|
1 | 28 | 10 months, 1 week前 | |
|
Displaying translated fields in a Ninja table using WPML's icl_object_id function?
发起人:Mary
在:English Support
Problem: Solution: $post_id instead of hardcoding it. We also suggested adding error handling for missing fields and allowing dynamic shortcode attributes. Here is the revised code: // Function to get translated ACF fields using WPML
function get_translated_acf_fields($post_id, $language_code = null) {
if (!$language_code) {
$language_code = apply_filters('wpml_current_language', null);
}
$translated_post_id = apply_filters('wpml_object_id', $post_id, get_post_type($post_id), false, $language_code);
if (!$translated_post_id) {
return null;
}
$fields = array(
'ville' => get_field('ville', $translated_post_id),
'publics' => get_field('publics', $translated_post_id),
'programmes' => get_field('programmes', $translated_post_id),
);
return $fields;
}
add_shortcode('ville_field', 'display_ville_field');
add_shortcode('publics_field', 'display_publics_field');
add_shortcode('programmes_field', 'display_programmes_field');
Additionally, we suggested testing the code without Ninja Table first and ensuring that Ninja Table is set as "Translatable" in WPML > Settings > Post Type Translation, then translating the tables and using their respective shortcodes in each language. If this solution does not resolve your issue or seems irrelevant due to updates or differences in 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. |
|
2 | 5 | 1 year, 1 month前 | |
|
Translating the labels in a View created with Advanced Custom Views Framework
发起人:Mary
在:English Support
Problem: Please note that this solution might be outdated or not applicable to your specific case. If these steps do 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 at WPML support forum. |
|
2 | 5 | 1 year, 2 months前 | |
|
URL slugs for each language change automatically, causing 404 errors (Part 2)
发起人:Mary 在:English Support |
|
2 | 10 | 1 year, 2 months前 | |
|
Translating the dates in Timeline Block For Gutenberg
发起人:Mary
在:English Support
Problem:
<wpml-config>
<gutenberg-blocks>
<gutenberg-block type="cp-timeline/content-timeline-block-child" translate="1">
<xpath label="Timeline block date">//div/div/div/div/div/p</xpath>
</gutenberg-block>
</gutenberg-blocks>
</wpml-config>
For more details, refer to our documentation on making custom Gutenberg blocks translatable: https://wpml.org/documentation/support/language-configuration-files/make-custom-gutenberg-blocks-translatable/ 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 further assistance is needed, please open a new support ticket at our support forum. |
|
2 | 8 | 1 year, 6 months前 | |
|
URL slugs for each language change automatically, causing 404 errors.
发起人:Mary 在:English Support |
2 | 4 | 1 year, 6 months前 | ||
|
URL slug for each language changing automatically
发起人:Mary 在:Chat Support |
|
1 | 2 |
1 year, 6 months前
|
|
|
Translating a field that doesn't show in String Translation – LH Archived Post Status plugin
发起人:Mary
在:English Support
Problem: If this solution does not resolve your issue or seems outdated, we 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 needed, please open a new support ticket for further assistance at WPML support forum. |
|
3 | 5 | 1 year, 6 months前 | |
|
Translating custom fields in Citadela
1
2
3
发起人:Mary 在:English Support |
|
2 | 34 | 1 year, 11 months前 | |
|
Media translation not always working
发起人:Mary 在:English Support |
|
4 | 15 | 2 years前 | |
|
ACF Multilingua – strings not translated on front end
发起人:Mary 在:English Support |
|
2 | 3 | 2 years, 1 month前 |