get_the_permalink() fetching an autotranslated string
-
We have a custom post type called “job”, added through the WP Job Manager plugin. The correct URL of a job is “mysite.com/job/the_job”, however for the French side of the site, it translates it to “mysite.com/poste/the_job”. This is what is returned from simply calling “get_the_permalink()”. I just did a crude str_replace for “poste” to “job”, but I was wondering if there was a better way to solve this issue?
Thanks, fantastic plugin. Great work.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘get_the_permalink() fetching an autotranslated string’ is closed to new replies.