Este usuario no tiene temas favoritos.
Temas favoritos del foro
Temas del foro creados
Estado |
Tema
|
Colaborador | Voces | Entradas | Frescura |
---|---|---|---|---|---|
Translating a custom string
Iniciado por: Tucango
en: 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 | hace 1 mes | ||
Can't find a string ti be translated
Iniciado por: Tucango
en: 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 | hace 1 mes, 4 semanas | ||
I have a button that I want to translate – it was created inside functions.php
Iniciado por: Tucango en: Chat Support |
1 | 2 |
hace 2 meses, 2 semanas
|
||
Site breaks after upgrading WPML
Iniciado por: Tucango en: English Support |
2 | 2 | hace 1 año | ||
Error after updating to WPML 4.6.3
Iniciado por: Tucango en: English Support |
2 | 5 | hace 1 año | ||
Traducción de descripción de caja de autor
Iniciado por: Tucango en: Soporte en español |
2 | 14 | hace 1 año, 8 meses |