This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Copying Content to Translated Page Results in Blank ACF Repeater Fields
Started by: kateH-7 in: English Support |
2 | 4 | 1 month, 3 weeks ago | ||
Saving Translated Pages Overwrites Content in other Page
Started by: kateH-7 in: English Support |
2 | 10 | 1 month, 3 weeks ago | ||
Language Code Disappearing from Post URL after Save
Started by: kateH-7 in: English Support |
2 | 6 | 2 months, 2 weeks ago | ||
Manually skip links for translation
Started by: kateH-7
in: English Support
Problem: Solution: 1. Use Data Attributes or HTML Comments: <!--:notranslate--><br /><a href="https://staging.totara.fortyapp.com/es/" class="notranslate">Spanish</a><br /><!--:notranslate--> 2. Custom WPML Filters: function exclude_links_from_translation($content) {<br /> $content = preg_replace('/<a href="https:\/\/staging.totara.fortyapp.com\/es\/">(.*?)<\/a>/', '<a href="https://staging.totara.fortyapp.com/es/" class="notranslate">$1</a>', $content);<br /> return $content;<br />}<br />add_filter('the_content', 'exclude_links_from_translation'); 3. JavaScript Workaround: document.addEventListener('DOMContentLoaded', function() {<br /> var links = document.querySelectorAll('a.notranslate');<br /> links.forEach(function(link) {<br /> link.href = 'https://staging.totara.fortyapp.com/es/';<br /> });<br />}); 4. Custom Fields Exclusion: If these solutions do not resolve your issue or if the information becomes 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 the problem persists, please open a new support ticket at WPML support forum. |
3 | 8 | 4 months ago | ||
Translation management
Started by: kateH-7 in: English Support |
2 | 2 | 1 year, 11 months ago |