• Resolved Alexander Herzog

    (@ran_alexander)


    When learning mode is enabled, the actions for

    sensei_single_lesson_content_inside_after
    sensei_single_course_content_inside_before

    are not triggered, as they are only part of the template, which seems to be ignored in learning mode.

    Is there a Gutenberg block I’m not aware of to display the media in lessions?
    In courses, the media will be displayed via the_content hook.

    I helped myself with a litte shortcode

    add_shortcode('lms_media', function() {
            ob_start();
            do_action('sensei_single_lesson_content_inside_after');
            return ob_get_clean();
    });

    how shall we use media attachments for lessions in learning mode?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Lesson Media not showing in learning mode / missing gutenberg block for media’ is closed to new replies.