• Resolved wallifantastic

    (@wallifantastic)


    I’m testing sensei for the first time. There are two options to display the courses you are enrolled in. Option 1: via “Student Courses” Block or shortcode [sensei_user_courses]. Option 2: Via “Course List” Loop and “Course List Filter”. To output enrolled courses only you have to chose Filter Type “Student Courses”. In the frontend you have three choices with both options: All courses, Active, Completed. With Option 1 (the legcy option I guess) if I select “All courses” I will see all my enrolled courses (seems logical to me). With Option 2 (the new Course List) if I select “All courses” I will see all available courses, even those I am not enrolled in. Why do they behave different? Is that a bug or intended behaviour?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Mike R. (a11n)

    (@mdrockwell)

    The Student Courses block wouldn’t be the legacy option. With the WordPress editor’s transition to blocks, we will be focusing on Sensei’s blocks going forward. The shortcode could be thought of as the legacy option, however we don’t have any plans to retire it any time soon.

    The Course List block and the Student Courses block do behave differently in that the Course List block is designed to show all courses on the site, which can be adjusted using the Course Filter block as you mentioned. Whereas the Student Courses block is designed to show relevant courses to logged in users — for example, to show courses that a student is enrolled in.

    Thread Starter wallifantastic

    (@wallifantastic)

    Thanks for clarifying the different options. One more thing I noticed: The Course Filter block does not work if you place the Course List block inside a Spectra container (https://wpspectra.com/docs/spectra-container-block/). But that is probably a different topic.

    Mike R. (a11n)

    (@mdrockwell)

    Since that’s a third-party block, it isn’t something that we directly test with. Is there anything specific that this block achieves for you that you’d like to see added in Sensei’s blocks? I’d be happy to forward it along to our developers as a feature request.

    Thread Starter wallifantastic

    (@wallifantastic)

    It’s just a famous block page builder that we’re using for styling our websites.

    Plugin Support Jay

    (@bluejay77)

    Hi @wallifantastic,

    Since Sensei is specifically built for WordPress’s default block editor, we cannot guarantee compatibility with 3rd party page builders like this. Even if we made it compatible with Spectra for current version of Sensei, it could no longer be compatible as soon as Spectra updates their plugin with new features. Doing so with all available plugins would be unsustainable in the long term.

    Sensei is compatible as long as your page builder of choice is compatible with the block editor, however. For example, you can customize a Sensei page with Elementor page builder components inserted as blocks.

    I recommend reaching out to Spectra page builder developers about ways to use their services in block editor. If they have specific technical needs that could be added to Sensei, please feel free to open a feature request: https://github.com/Automattic/sensei/issues

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.