take the course button

Home Forums Legacy Support Support queries How-to & Troubleshooting take the course button

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #232178
    StudioLeBus
    Participant
    Hello, I'm trying to have a "take the course" button in the course archive page, like the course7 setting in the course widget that I use on the homepage... so I added this code that I found in this forum: add_action('bp_directory_course_item','custom_show_course_button_in_course_directory'); function custom_show_course_button_in_course_directory(){ echo the_course_button(); } So it worked, and now I have the take the course button in the archive... BUT ... the problem is that there is now 2 "continue course" if the student takes one course... isn't it possible to just choose the course7 design for the course page archive ?? I tried changing the option in the settings wplms / course manager / Default course block style / but it doesn't change nothing in the courses archive, the block design stays always the same.. Thanks for your help  
    #232281
    logan
    Member
    Hello, please share some screenshots for everything you have told me above. also, share the URL of the page. then i will check and tell you the most sophisticated and feasible solution if possible.
    Tip: For better support always share a screenshot: Please provide the proper screenshot, use https://prnt.sc/ to upload and share url of the screenshot. If you want to send us a video of the issue, use https://screencast-o-matic.com/ to upload and share URL of the video.
    #232306
    StudioLeBus
    Participant
    This reply has been marked as private.
    #232440
    logan
    Member
    Hello, you do not need to add this code anywhere, course directory(archieve) has the corses and respective take this course button. add_action('bp_directory_course_item','custom_show_course_button_in_course_directory');
    function custom_show_course_button_in_course_directory(){
    echo the_course_button();
    } this code was to add the course button in the single course page. refer: http://prntscr.com/pt32r0 if you are using wrong action hook then it will create a conflict which is what you are facing.
    #232450
    StudioLeBus
    Participant
    Hello, thanks for your answer I don't think yiou understood what I try... If I remove the code there is no take the course button in the archive... have a look here now https://www.learngypsyjazz.com/courses/ no take the course button.. and if I add the code there is the take the course button, but for lesson already bought there is 2 times continue course like this https://prnt.sc/pslx5i ... Also the settings for the block desing in the admin is not working https://prnt.sc/pslzfa this is why I'm facing this problem I think... Any ideas?? thanks
    #232579
    logan
    Member
    Hello, because that is not available in the template: http://prntscr.com/ptknoh user has to click the title of the course then he will be redirected to the single course page where they can check the course descriptions, what you are offering in curriculum section, what are the features. when he has all the satisfactory details he can hit the take this course page then he will be redirected to the checkout page.
    USE THIS CSS IN YOUR WP-ADMIN >> APPEARANCE >> CUSTOMIZE >> CUSTOM CSS. form#course-directory-form  div#course-dir-list .item input.course_button.full.button[value="CONTINUE COURSE"], form#course-directory-form  div#course-dir-list .item input.course_button.full.button[value="START COURSE"]{display: none;} it will hide the extra buttons.
    #232673
    StudioLeBus
    Participant
    Hello thanks very much I managed to do what I wanted :)
    #232715
    logan
    Member

    Dear Friend,

    Glad you’re enjoying the theme & support – thanks for using it! 🙂

    Please write your review. I would really appreciate that! Here: https://themeforest.net/item/wplms-learning-management-system/reviews/6780226

    If I can be of assistance, please do not hesitate to contact me again.

    Closing this topic.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘take the course button’ is closed to new replies.