Home › Forums › Legacy Support › Support queries › Setup issues › Create Course css
Tagged: create course
- This topic has 8 replies, 3 voices, and was last updated 9 years, 4 months ago by
Anshuman Sahu.
Viewing 9 posts - 1 through 9 (of 9 total)
-
AuthorPosts
-
October 24, 2015 at 10:35 am #4693
wyatt322
SpectatorUpdated create course yesterday and there are lots of new features i would like to remove. My developer tried with css but it was taking the changes. What can be done to hide unwanted features?October 26, 2015 at 6:01 am #4915Anshuman Sahu
KeymasterCan you please specify what do you need to hide from the new editor ?October 26, 2015 at 8:23 am #4940wyatt322
Spectatori would like to hide all the feature crossed out in red And also change any titles with Course to LessonOctober 27, 2015 at 8:18 am #5263MrVibe
KeymasterUse below code for this :add_filter('wplms_course_creation_tabs','mywplms_remove_fields',5); // should apply before any externsion/addon plugins function mywplms_remove_fields($fields){ // Removes course message $last = count($fields['course_settings']['fields']); unset($fields['course_settings']['fields'][($last-2)]); //Remove evaluation-mode,pre-requisite, dripfeed, certificate, badges,startdate for($i=1;$i<=13;$i++){ unset($fields['course_settings']['fields'][$i]); } //Remove Course components unset($fields['course_components']); //Remove Course pricing free unset($fields['course_pricing']['fields'][1]); //Remove course pricing product unset($fields['course_pricing']['fields'][2]); return $fields; }
For re-labelling you can use translation files or simply locate the fields in wplms-front-end/includes/class.generate-fields.php and like above code overwrite the label value.October 30, 2015 at 2:12 pm #6093wyatt322
SpectatorMy developer tried to add your code but it broke the create course page He added this code in functions.php of child theme Please can you help with this code and input it and please can you check the code in https://wplms.io/support/forums/topic/create-course-add-full-description/#post-5879 i dont know if the developer added this code. admin: ajarnonline1@gmail.com pw: 78m458fx** www.ajarnonline.comOctober 31, 2015 at 11:31 am #6219Anshuman Sahu
KeymasterThe above given code is to be added in your wplms-customizer.php file in wplms-customizer plugin . Try adding the given code : add_filter('wplms_course_creation_tabs','remove_course_short_description'); function remove_course_short_description($fields){ unset($fields['create_course']['fields'][3]); //3 for short, 4 for full description return $fields; }November 17, 2015 at 10:49 am #9078wyatt322
SpectatorWe have added this code and now full description link is also hide. We just want to hide short description and this code hiding short and full both description options. add_filter('wplms_course_creation_tabs','remove_course_short_description'); function remove_course_short_description($fields){ unset($fields['create_course']['fields'][3]); //3 for short, 4 for full description return $fields; }November 17, 2015 at 10:50 am #9079wyatt322
SpectatorThere is a problem with the code. adding this code remove the short description and also remove the full description How can we just remove the short description and keep the full description?November 18, 2015 at 11:31 am #9331Anshuman Sahu
KeymasterSOrry this cannot be possible as of now with the front end course create. They both will get removed together if you remove short description . -
AuthorPosts
Viewing 9 posts - 1 through 9 (of 9 total)
- The topic ‘Create Course css’ is closed to new replies.