This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Translating a custom string
Started by: Tucango
in: English Support
Problem: Solution: <footer> <!-- Your existing footer content here --> <!-- Container for the fixed button --> <div class="amp-button-container"> <a href="https://firstderm.com/ask-online-dermatologist/" class="amp-button">CLICK TO ASK A DERMATOLOGIST</a> </div> </footer> 2. Ensure that the code to register the string for translation is enabled in the functions.php file within the child theme folder. function register_strings_for_translation() { if (function_exists('icl_register_string')) { icl_register_string('first-derm-footer', 'amp-button-text', 'CLICK TO ASK A DERMATOLOGIST'); } } add_action('init', 'register_strings_for_translation'); 3. Re-translate the string in WPML > String Translation. After following these steps, the translation string in the footer should display correctly. Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket. |
2 | 3 | 1 month ago | ||
Can't find a string ti be translated
Started by: Tucango
in: English Support
Problem: Solution: wp-contents/plugins/accelerated-mobile-pages/templates/design-manager/design-2/footer.php . After adding the code and translating the button text via String Translation, the text displayed correctly in Spanish on the frontend. We also advised the client that any updates to the AMP plugin would overwrite these custom changes. To prevent this, we suggested two alternatives: functions.php file of the theme. If the solution provided here is not relevant due to being outdated or not applicable to your case, we highly recommend checking 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. |
2 | 14 | 1 month, 4 weeks ago | ||
Site breaks after upgrading WPML
Started by: Tucango in: English Support |
2 | 2 | 1 year ago | ||
Error after updating to WPML 4.6.3
Started by: Tucango in: English Support |
2 | 5 | 1 year ago | ||
Traducción de descripción de caja de autor
Started by: Tucango in: Soporte en español |
2 | 14 | 1 year, 8 months ago |