Skip navigation

Open

Reported for: WPML Multilingual CMS 4.5.8

Overview of the issue

LearnDash plugin allows you to change your courses URL structure from SettingsPermalinks page and checking the Enable Nested URLs option.

However, if you set your Courses (sfwd-courses) and Lessons (sfwd-lessons) as Translatable — use translation if available or fallback to default language in WPMLSettingsPost Types Translation, lessons will not open from the courses page.

Setting courses and lessons as «Translatable — use translation if available or fallback to default language»

Workaround

As workaround you can go to WPMLSettingsPost Types Translation page and set your Courses (sfwd-courses) and Lessons (sfwd-lessons) as Translatable — only show translated items and duplicate them.

Alternatively, you can add the following line into your wp-config.php or functions.php theme file:

define( 'LEARNDASH_FILTER_PRIORITY_THE_CONTENT', 101 );

комментариев 6 на “LearnDash - "Enable Nested URLs" conflict with "Translatable - use translation or fallback to default language" mode”

  1. my setting is «Courses (sfwd-courses) and Lessons (sfwd-lessons) as Translatable – use translation if available or fallback to default language» , trying to add code : define( ‘LEARNDASH_FILTER_PRIORITY_THE_CONTENT’, 101 ) in functions.php. it doesn’t work. always cannot click into lessons.
    can you help on this? thanks.

    • Hello there,
      I’m afraid this is the expected behaviour and courses status are not synchronised between languages.
      I recommend you to contact their support in case they can provide you an alternative.

Написать ответ

Пожалуйста, оставайтесь в теме и будьте уважительны к другим. Если Вам нужна помощь по вопросам, не относящимся к этому сообщению, воспользуйтесь нашим Форумом поддержки, чтобы начать чат или отправить тикет.

Вы можете использовать эти метки:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>