• Hello All,

    First of all my plugins, theme and WordPress are all updated ot the latest versions.

    I am using the free version of LearnPress, Astra (free) Coach theme and Elementor page builder.

    The Problem … when I create a new user (or any user for that matter) and login as that user then Enroll in multiple courses, when at Profile -> Courses they do not display in a logical order – by that I mean that if I Enroll the user in for example 01 – CourseName and then after that Enroll them in 02 – CourseName the display at Profile -> Courses will have 02 – CourseName before 01 – CourseName which makes absolutely no sense at all IMO.

    As suggested, I am naming my Courses using a number prefix starting at 01 … so what code could be used either in a site specific plugin or a child theme which would allow me to display the Courses in numerical order, that is, 01 followed by 02 and so on regardless of what order the student Enrolled in any course … for example, under my setup they are free to Enroll in say 08 – CourseName first and then 03 – CourseName second and then 01 – CourseName third …

    … therefore, again using the example above, it would make much more logical sense to have the Courses they are Enrolled in display in the Profile -> Courses view as …

    01 – CourseName
    03 – CourseName
    08 – CourseName

    … regardless of the order in which they Enroll.

    I hope this makes sense and I look forward to a response.

    Thanking you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    Unfortunately now we don’t have the feature to change the order of the courses in profile page.

    So sorry for this inconvenience.

    Thread Starter gdiddy1

    (@gdiddy1)

    Thanking you for the response.

    I understand that you are saying it is not possible and I also understand that I am about to speak about a totally different product to LearnPress, however, I am wondering why it is possible for someone using LearnDash to fix the exact same issue which exists in that product and remedied as per the following thread …

    Thread

    … which supplies the following code …

    add_filter( 'bp_learndash_user_courses_atts', 'learndash_course_orderby_date', 10, 1 );
    
    function learndash_course_orderby_date( $atts ) {
     $atts['orderby']    = 'date';
     $atts['order']      = 'ASC';
     return $atts;
    }

    Would it not be possible to come up with something similar for LearnPress by way of an override please?

    Hi,

    Are you using Learnpress or LearnDash plugin?

    Thread Starter gdiddy1

    (@gdiddy1)

    I am using the free version of LearnPress hence why I stated in my original post … “I am using the free version of LearnPress”.

    The LearnDash reference was simply used as an example to show what someone was able to provide a user having the same issue whilst using that particular plugin … hence why I stated “understand that I am about to speak about a totally different product to LearnPress” and “Would it not be possible to come up with something similar for LearnPress”.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to Arrange Profile -> Course in LearnPress Free’ is closed to new replies.