Hi There,
I would like to know if there is specific class (or id) to courses to which a user is already enrolled.
In fact I would like to be able to hide the courses that the user is already enrolled on a specific shopping page.
Thank you in advance.
Can you please tell from where do you want to hide the courses .
Is it the woocommerce shop page ?please share url of that page .
I do not have the page yet, but I will use the shortcode vibe to display all the courses on this page. I only want to hide the courses to which users are already enrolled.
and in which format would you like to display the courses with that shortcode ?
In post grid format or in carousel format ?
Okay here is what you need to do :
1. Please add this given code in your wplms-customizer.php file in wplms customizer plugin :
https://gist.github.com/alexvibealex/46fdeaf8acad7c70cd523a5072ae8f46
2. then use this shortcode as it is to show courses except in which user is enrolled :
[my_courses title="Heading" show_title="1" post_type="course" taxonomy="" term="" post_ids="" course_style="recent" featured_style="course" masonry="0" grid_columns="clear3 col-md-4" column_width="200" gutter="30" grid_number="9999" infinite="0" pagination="1" grid_excerpt_length="100" grid_link="0" css_class="" container_css="" custom_css=""][/my_courses]