This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Hongo Theme Custom Footer using Section Builder not translating
Started by: sharonB-6
in: English Support
Problem: How to translate Hongo Theme footer added with the section builder. Solution: - Go to "WPML > Settings > Custom XML Configuration (Tab)". - Add the code below: <wpml-config> <admin-texts> <key name="theme_mods_hongo"> <key name="hongo_footer_section"></key> </key> </admin-texts> </wpml-config> - Go to "Section Builder > Add New". - Add a new Footer using the builder and name it English Footer. - In the screen of the Section Builder disable the Use WPML's Translation Editor option. - On the pop up choose This Section Builder. - Click the + or pencil icon there for the other language translation. - You will be redirected to the other language version and you can either add the footer from scratch or copy it from the original language by clicking the Copy content from ... button. - From the address bar of your browser check the URL when you are in the second language of the Section Builder and write down the post ID for later use. For our example, it was 25. - Go to "Appearance > Customize > Header and Footer > Footer > Footer Section" and select the English Footer and publish the settings. - Go to "WPML > String Translation > admin_texts_theme_mods_hongo" and translate the page ID there. For example the current page ID there is 20 for English. We need to add 25 (The one that we wrote down) here for Spanish. Check the screenshots attached to this answer: |
|
2 | 9 | 4 years, 6 months ago |