Not working with WPML Translation?
-
We use the Translation-Plugin:
https://wpml.org/If i use the wp-print plugin, it works for the default language, but for translation it won
t work, because the permalink ignores the tags from the wpml-plugin in the url. ( it doesn
t matter if i use subdirectory like https://www.example.de/en/ or with parameters).Why is the print link for the root page “www.example.de/home/print/” instead of “www.example.de” ?
I read in a thread its possible to change the code in wp-print.php line 83 fromn:
$print_link = _get_page_link();
to:
$print_link = get_page_link();
Then the print link works fine for the sub-pages. But the link for the root-page generates then “www.example.de/print/” and for translation “www.example.de/en/print/” and it results in an 404 error page.
Are there any solution?
thanks
- The topic ‘Not working with WPML Translation?’ is closed to new replies.