Is it possible to change the url of the button present in course to the “courses” url ?
Thank’s1 year, 5 months ago maximusMember
Please add this code in wp-admin->WPLMS->Footer->Google Analytics Code->and save
$(“.page-template .container-fluid .course_pursue_panel .course_pursue_panel_content .more_course .unit_button”).attr(“href”, “https://lms.crmdvp.fr/all-courses/”);
If you face any trouble after this please let me know.
“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
Thank you for the reply.
you could either add a extra button.
Please paste this snippets in your wp-admin >> plugins >> editor >> wplms-customizer plugin >> wplms-customizer.php
$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>’;
Thank a lot !
It’s working like a charm.
And now, how can i disable the “courses” button
The topic ‘Change URL Button in course’ is closed to new replies.