Skip to content

Divi 5 modules - #60

Open
nur-alam wants to merge 29 commits into
divi5from
divi5Modules
Open

nur-alam wants to merge 29 commits into
divi5from
divi5Modules

Conversation

@nur-alam

@nur-alam nur-alam commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

Add Divi 5 modules for Course List, Course Carousel, Course Benefits, Course Categories, Course Content, Course Curriculum, and Course Duration.

Single-course modules take the course open in Divi, then the latest published course. Course List and Course Carousel keep their category and author filters, filled from the shared Visual Builder payload.

Test plan

  • Open a Tutor course in the Divi 5 Visual Builder and insert each module.
  • Confirm Benefits, Categories, Content, Curriculum, and Duration have no Course dropdown and show the open course.
  • Confirm Course List and Course Carousel category and author checkboxes list real terms and authors.
  • Check the same modules on the front end.

- Introduced the Course Carousel module, allowing users to display courses in a carousel format.
- Implemented frontend rendering and REST API integration for dynamic content loading.
- Added necessary styles and scripts for the carousel functionality.
- Updated module registration and conversion outlines to support the new carousel features.
- Enhanced visual builder compatibility with new settings for customization.
- Introduced the Course Benefits module, enabling users to showcase course benefits dynamically.
- Implemented frontend rendering and REST API integration for fetching course benefits data.
- Added necessary styles and scripts for the module's functionality and visual builder compatibility.
- Updated module registration and conversion outlines to support the new Course Benefits features.
- Introduced the Course Categories module, enabling users to display course categories dynamically.
- Implemented frontend rendering and REST API integration for fetching course categories data.
- Added necessary styles and scripts for the module's functionality and visual builder compatibility.
- Updated module registration and conversion outlines to support the new Course Categories features.
- Introduced the Course Content module, allowing users to display detailed course information dynamically.
- Implemented frontend rendering and REST API integration for fetching course content data.
- Added necessary styles and scripts for the module's functionality and visual builder compatibility.
- Registered the module and updated conversion outlines to support the new Course Content features.
- Introduced the Course Curriculum module, enabling users to display course curriculum details dynamically.
- Implemented frontend rendering and REST API integration for fetching curriculum data.
- Added necessary styles and scripts for the module's functionality and visual builder compatibility.
- Registered the module and updated conversion outlines to support the new Course Curriculum features.
- Introduced the Course Duration module, enabling users to display course duration dynamically.
- Implemented frontend rendering and REST API integration for fetching course duration data.
- Added necessary styles and scripts for the module's functionality and visual builder compatibility.
- Registered the module and updated conversion outlines to support the new Course Duration features.
- Removed deprecated course selection functionality from the Course Curriculum module.
- Updated REST API parameters to streamline data fetching.
- Enhanced module metadata and conversion outlines for improved compatibility.
- Simplified the module's internal logic by eliminating unnecessary code related to course options.
- Removed deprecated course selection functionality and related code from the Course Content module.
- Updated REST API parameters to enhance data fetching efficiency.
- Simplified module metadata and conversion outlines for improved compatibility.
- Enhanced internal logic by eliminating unnecessary attributes and methods.
- Removed deprecated course selection functionality and related code from the Course Benefits and Course Categories modules.
- Updated REST API parameters to streamline data fetching and enhance compatibility.
- Simplified module metadata and conversion outlines by eliminating unnecessary attributes and methods.
- Improved internal logic for better performance and maintainability.
@nur-alam nur-alam added the Divi5 divi5 module label Oct 8, 2026
- Introduced the Course Enrollment module, allowing users to display enrollment options dynamically.
- Implemented frontend rendering and REST API integration for fetching enrollment data.
- Added necessary styles and scripts for the module's functionality and visual builder compatibility.
- Registered the module and updated conversion outlines to support the new Course Enrollment features.
- Introduced the Course Instructor module, allowing users to display instructor details dynamically.
- Implemented frontend rendering and REST API integration for fetching instructor data.
- Added necessary styles and scripts for the module's functionality and visual builder compatibility.
- Registered the module and updated conversion outlines to support the new Course Instructor features.
- Introduced the Course Last Update module, allowing users to display the last updated date of courses dynamically.
- Implemented frontend rendering and REST API integration for fetching last update data.
- Added necessary styles and scripts for the module's functionality and visual builder compatibility.
- Registered the module and updated conversion outlines to support the new Course Last Update features.
- Introduced the Course Level module, allowing users to display course level information dynamically.
- Implemented frontend rendering and REST API integration for fetching course level data.
- Added necessary styles and scripts for the module's functionality and visual builder compatibility.
- Registered the module and updated conversion outlines to support the new Course Level features.
- Introduced the Course Materials module, enabling users to display course materials dynamically.
- Implemented frontend rendering and REST API integration for fetching course materials data.
- Added necessary styles and scripts for the module's functionality and visual builder compatibility.
- Registered the module and updated conversion outlines to support the new Course Materials features.
- Introduced the Course Price module, allowing users to display course pricing dynamically.
- Implemented frontend rendering and REST API integration for fetching course price data.
- Added necessary styles and scripts for the module's functionality and visual builder compatibility.
- Registered the module and updated conversion outlines to support the new Course Price features.
- Introduced the Course Purchase module, allowing users to display course purchase options dynamically.
- Implemented frontend rendering and REST API integration for fetching course purchase data.
- Added necessary styles and scripts for the module's functionality and visual builder compatibility.
- Registered the module and updated conversion outlines to support the new Course Purchase features.
@nur-alam nur-alam changed the title Add the Divi 5 course modules Divi 5 modules Oct 8, 2026
- Introduced the Course Rating module, enabling users to display course ratings dynamically.
- Implemented frontend rendering and REST API integration for fetching course rating data.
- Added necessary styles and scripts for the module's functionality and visual builder compatibility.
- Registered the module and updated conversion outlines to support the new Course Rating features.
- Introduced the Course Requirements module, enabling users to display course requirements dynamically.
- Implemented frontend rendering and REST API integration for fetching course requirements data.
- Added necessary styles and scripts for the module's functionality and visual builder compatibility.
- Registered the module and updated conversion outlines to support the new Course Requirements features.
- Introduced the Course Reviews module, enabling users to display course reviews dynamically.
- Implemented frontend rendering and REST API integration for fetching course reviews data.
- Added necessary styles and scripts for the module's functionality and visual builder compatibility.
- Registered the module and updated conversion outlines to support the new Course Reviews features.
- Introduced the Course Share module, enabling users to share course content easily.
- Implemented frontend rendering and REST API integration for fetching share data.
- Added necessary styles and scripts for the module's functionality and visual builder compatibility.
- Registered the module and updated conversion outlines to support the new Course Share features.
- Introduced the Course Status module, enabling users to display course progress dynamically.
- Implemented frontend rendering and REST API integration for fetching course status data.
- Added necessary styles and scripts for the module's functionality and visual builder compatibility.
- Registered the module and updated conversion outlines to support the new Course Status features.
- Introduced the Course Tags module, enabling users to display course tags dynamically.
- Implemented frontend rendering and REST API integration for fetching course tags data.
- Added necessary styles and scripts for the module's functionality and visual builder compatibility.
- Registered the module and updated conversion outlines to support the new Course Tags features.
- Introduced the Course Target Audience module, enabling users to display the target audience for courses dynamically.
- Implemented frontend rendering and REST API integration for fetching target audience data.
- Added necessary styles and scripts for the module's functionality and visual builder compatibility.
- Registered the module and updated conversion outlines to support the new Course Target Audience features.
- Introduced the Course Thumbnail module, enabling users to display course thumbnails dynamically.
- Implemented frontend rendering and REST API integration for fetching course thumbnail data.
- Added necessary styles and scripts for the module's functionality and visual builder compatibility.
- Registered the module and updated conversion outlines to support the new Course Thumbnail features.
- Introduced the Course Total Enroll module, enabling users to display the total number of enrollments for courses dynamically.
- Implemented frontend rendering and REST API integration for fetching total enroll data.
- Added necessary styles and scripts for the module's functionality and visual builder compatibility.
- Registered the module and updated conversion outlines to support the new Course Total Enroll features.
- Introduced the Course Wishlist module, enabling users to display a wishlist feature for courses dynamically.
- Implemented frontend rendering and REST API integration for fetching wishlist data.
- Added necessary styles and scripts for the module's functionality and visual builder compatibility.
- Registered the module and updated conversion outlines to support the new Course Wishlist features.
- Implemented a function to replace Tutor's single course template when using Divi 5, ensuring proper loading of the template.
- Updated the loader to prevent loading Divi 4 classes when Divi 5 is active.
- Enhanced course content styles for better display and user experience.
- Added new translations for course-related strings in the language files.
- Introduced a new pre-built template for Divi 5 layouts, improving design flexibility.
- Bumped version number to 4.0.1 in package.json and main plugin file.
- Updated stable tag in readme.txt to reflect the new version.
- Added new Divi 5 modules for Tutor LMS course pages, lists, and carousels.
- Introduced a pre-built single course layout for Divi 5.
- Updated single course pages to replace Tutor's default template when using Divi 5.
- Ensured Divi 4 modules remain unloaded when Divi 5 is active.
- Added new bootstrap file for Divi 5 integration and module registration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Divi5 divi5 module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant