Frontend Issues

Home Forums Legacy Support Support queries Other issues Frontend Issues

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #147719
    ajacks
    Participant
    Hi, I need your help with three issues: 1) Disable "Add New" in Course Category, Location and Level - this should only be done by the admin at the backend 2) Add Text boxes on the front end asking Instructors for information like "Learning Outcomes" when they are creating or editing a course 3) Setting default prices for courses at the Admin level for sales period and then return back to original Thanks
    #147750
    Anshuman Sahu
    Keymaster
    1. Please try adding this given code in your wplms-customizer.php file in wplms customizer plugin : add_filter('wplms_course_creation_tabs',function($settings){   if(current_user_can('manage_options'))     return $settings;   foreach ($settings['create_course']['fields'] as $key => $value) {     if($value['id'] == 'course-cat' || $value['id'] == 'level'){       unset($settings['create_course']['fields'][$key]);     }   }   return $settings;   },9999);   2. use this plugin : https://wplms.io/support/knowledge-base/wplms-course-custom-nav-plugin/   3. Im sorry this is not available as of now .
    #147821
    ajacks
    Participant
    Hi, awesome thanks although the code snippet  provided didn't work...
    #147935
    Mark Morgan
    Spectator
    Well, the above code provided by ALex works for Instructor only. If you want to remove "Add New" in course category then you should replace the following code with the previous code in wplms-cutomizer file in wplms customizer plugin. Code:   add_filter('wplms_front_end_new_tax_cap','disable_add_new_tax'); function disable_add_new_tax($x){ return 0; }
    #148454
    ajacks
    Participant
    Thank you Mark, this worked perfectly! cheers
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Frontend Issues’ is closed to new replies.