Button back to course

Home Forums Legacy Support Support queries Other issues Button back to course

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #176491
    Julien3z
    Participant
    Hi,   Website : https://adekoite-dev.fr/appli/ 1. I need to change the "Back to Course" button link to the student's dashboard instead of the course page. I've tried this code but that doesn't work :  add_action('wplms_course_start_after_timeline','redirect_back_to_course_button',999); function redirect_back_to_course_button(){ if(is_user_logged_in()){ global $current_user; $login_page='https://adekoite-dev.fr/appli/membres/'. $current_user->user_login.'/dashboard/'; echo '<button name="back_to_course" class="back_to_course unit_button full button">BACK TO COURSE</button>'; } } 2. I also need to add my website logo on every course on the top right hand corner that links directly to the homepage. Can you please help me to do that ? <b>https://prnt.sc/kvbzqm</b> Thanks a lot for your help
    #176646
    Julien3z
    Participant
    Actually, if logo is not possible, what I need is to add 2 other buttons on the course videos page :
    • Button back to Dashboard
    • Button back to Home
    • Button to contact form
    Can you help me to add those buttons please ?!!! Thans you !
    #176833
    Anshuman Sahu
    Keymaster
    Please try adding this code in your wplms-customizer.php file in wplms customizer plugin : https://gist.github.com/alexvibealex/ad7d25bf48fa66282262245a5df6bf62
    #176839
    Julien3z
    Participant
    This reply has been marked as private.
    #176992
    Mark Morgan
    Spectator
    Please share your FTP details with us. PS: Mark the reply as private while sharing the credentials.
    #176994
    Julien3z
    Participant
    This reply has been marked as private.
    #177226
    Anshuman Sahu
    Keymaster
    This reply has been marked as private.
    #177232
    Julien3z
    Participant
    You're the best ! Many thanks. You can close this one :)
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Button back to course’ is closed to new replies.