• 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)
  • Hi. Some translators are translating archive slugs. In my mind this is wrong. You could change slug for needed language in localization file.

Viewing 1 replies (of 1 total)
  • The topic ‘get_the_permalink() fetching an autotranslated string’ is closed to new replies.