Hi dav80,
Please add this code in wp-admin->WPLMS->Footer->Google Analytics Code->and save
<script>
$(document).ready(function(){
$(".page-template .container-fluid .course_pursue_panel .course_pursue_panel_content .more_course .unit_button").attr("href", "https://lms.crmdvp.fr/all-courses/");
});
</script>
refer:http://prntscr.com/ndiod5
If you face any trouble after this please let me know.
Hello,
No that cant be happen because these links are generated dynamically which cant be identify by the custom javascript.
"https://$SITEURL/$USER/course/ : here $USER is generated dynamically according to the user's username.
you can add a course tab in dashboard so that user can redirect to the my courses from there. like this
Refer: https://cl.ly/cd512c
Hello,
you could either add a extra button.
here: https://cl.ly/8289f1
Please paste this snippets in your wp-admin >> plugins >> editor >> wplms-customizer plugin >> wplms-customizer.php add_action('wplms_course_start_after_timeline',function (){ $home_url = get_home_url(); $username = bp_core_get_username(bp_loggedin_user_id()); $location = $home_url.'/members/'.$username.'/course/'; echo '<a class="button full backtocourse" href="'.$location.'">'._x('BACK TO MYCOURSES','','dsf').'</a>';},10);