Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support brianvu-tp

    (@briantp)

    Hi rafaelzrt,

    Thank you for reaching out to us!

    It is possible to display the Maximum Students of a course on the course page. However, this feature is not available by default in LearnPress and will require some custom coding.

    To assist you better, could you let us know which theme you are currently using? This information will help us guide you on how to implement the customization properly.

    Looking forward to your response!

    Best regards,
    Brianvu-tp

    Thread Starter rafaelzrt

    (@rafaelzrt)

    I am working with Divi.

    But the templates of the Course Pages remains almost the basic from LearnPress.

    Plugin Support brianvu-tp

    (@briantp)

    Hi rafaelzrt,

    Thank you for your response!

    You can display the Maximum Students of a course on the course page by utilizing the following hook:

    apply_filters( ‘learn-press/layout/list-courses/item/meta-data’, …);

    This hook is located in the file:
    wp-content/plugins/learnpress/inc/TemplateHooks/Course/ListCoursesTemplate.php

    If you’re familiar with coding, you can use this hook to customize the metadata displayed on the course page and include the maximum number of students.

    Best regards,
    Brianvu-tp

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