I created an archive layout for the LiferLMS custom post type “course.” In the WooCommerce dashboard, there’s a “My Courses” tab from LifterLMS that displays all the courses the current user is enrolled in. Unfortunately, it uses a design from Lifter. I would like to enforce my Cornerstone archive layout here – including pagination. Is there a way to do this?
Thanks to the support team here, I was able to build an archive layout that only displays enrolled courses. However, if I create it with a Looper provider and then integrate “My Courses” into the dashboard instead of the original LiferLMS, there’s no pagination, and if “-1” (as the number) exceeds 100 courses, the page takes forever to load – so this isn’t practical. Since pagination only works without a provider, I want to somehow get my archive layout onto the my-courses endpoint in the WC dashboard.
Alternatively:
There’s also a shortcode within LiferLMS [lifterlms_courses mine=enrolled] that generates a loop of enrolled courses on the page where it was added. Is there a way to force the Cornerstone archive layout for this loop? So, basically, page xy with the shortcode [lifterlms_courses mine=enrolled] and the archive layout applied to this page?
Thanks for suggestions.