Problem: The client is experiencing an issue where ACF fields are displayed in all languages on the homepage for 'Services' and 'Testimonials' custom post type modules. The fields are not correctly configured to display only in the intended language settings. Solution: First, ensure that you are following our guide on working with ACF, which can be found here: https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/. Next, verify that you have the ACF Multilingual plugin installed and updated to its latest version. This plugin is essential for managing the translation of ACF fields. Modify your code to include the 'suppress_filters' => false parameter to ensure that WPML can apply the necessary language filters. Here is the corrected code snippet:
1
2
3
4
5
6
7
8
$services= get_posts(array(
'posts_per_page'=> -1,
'post_type'=> 'services',
'order_by'=> 'post_title',
'order'=> 'asc',
'post_status'=> 'publish',
'suppress_filters'=> false,
));
If these steps do not resolve your issue, or if the solution provided here becomes 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 further assistance is needed, please open a new support ticket at WPML support forum.
Problem: You are trying to translate a button on your homepage into Spanish, but it is not displaying the translation. The button is part of an ACF link called 'Button' from the 'Two Column' ('two-col-all') ACF module, and it is inside the 'CTA' ACF Repeater. Solution: First, ensure that your fields are set correctly in WPML's Custom Field Translation Settings. The Repeater Field should be set to 'Copy once', and the Link field should be set to 'Copy' if you want to use the same link in both languages, or 'Translate' if you need different URLs for each language. You can find more details on setting these options in the documentation. After adjusting these settings, edit the link field on the original content, save the page, and then translate it again. If necessary, use the text search field in the WPML Advanced Translation Editor to find and translate the specific link.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your current setup, we highly recommend checking the related 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.
Problem: The client is unable to retrieve the Spanish version of ACF image URLs in the backend for their WordPress site, which affects the display of the 'header top bar' for different language versions. Solution: To resolve this issue, we recommend the following steps: 1. Navigate to WPML-> Settings-> Post Type Translation. 2. Set the following post types to be not translatable: - Field Groups (acf-field-group) - Taxonomies (acf-taxonomy) - Post Types (acf-post-type) - Options Pages (acf-ui-options-page) 3. Click 'Save'. 4. Go to 'General Settings'. 5. Switch the language using the top admin bar. 6. Add the translated settings. For further guidance on translating Option pages, please refer to this guide.
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. Should you need further assistance, please do not hesitate to open a new support ticket at WPML support forum.
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.