Tutor LMS – eLearning and online course solution - Version 1.7.3

Version Description

  • October 21, 2020 =

Update: Added option to turn on course archive filters

Download this release

Release Info

Developer themeum
Plugin Icon wp plugin Tutor LMS – eLearning and online course solution
Version 1.7.3
Comparing to
See all releases

Code changes from version 1.7.2 to 1.7.3

classes/Course.php CHANGED
@@ -1248,7 +1248,7 @@ class Course extends Tutor_Base {
1248
  <div class="tutor-course-sidebar-settings-item" id="_tutor_is_course_public_meta_checkbox" style="display:none">
1249
  <label for="<?php echo $is_public; ?>">
1250
  <input id="<?php echo $is_public; ?>" type="checkbox" name="<?php echo $is_public; ?>" value="yes" <?php echo $is_public_checked; ?> />
1251
- <?php _e('Is Course Public', 'tutor'); ?>
1252
  <small style="display:block;padding-left:24px">
1253
  <?php _e('No enrollment required.', 'tutor'); ?>
1254
  </small>
1248
  <div class="tutor-course-sidebar-settings-item" id="_tutor_is_course_public_meta_checkbox" style="display:none">
1249
  <label for="<?php echo $is_public; ?>">
1250
  <input id="<?php echo $is_public; ?>" type="checkbox" name="<?php echo $is_public; ?>" value="yes" <?php echo $is_public_checked; ?> />
1251
+ <?php _e('Make This Course Public', 'tutor'); ?>
1252
  <small style="display:block;padding-left:24px">
1253
  <?php _e('No enrollment required.', 'tutor'); ?>
1254
  </small>
classes/Options.php CHANGED
@@ -258,6 +258,12 @@ class Options {
258
  'options' => array('min'=> 1, 'max' => 20),
259
  'desc' => __('Define how many courses you want to show per page', 'tutor'),
260
  ),
 
 
 
 
 
 
261
  ),
262
  ),
263
  'enable_disable' => array(
258
  'options' => array('min'=> 1, 'max' => 20),
259
  'desc' => __('Define how many courses you want to show per page', 'tutor'),
260
  ),
261
+ 'course_filter' => array(
262
+ 'type' => 'checkbox',
263
+ 'label' => __('Course Filter', 'tutor'),
264
+ 'label_title' => __('Enable', 'tutor'),
265
+ 'desc' => __('Show sorting and filtering options on course archive page', 'tutor'),
266
+ ),
267
  ),
268
  ),
269
  'enable_disable' => array(
includes/tutor-template-functions.php CHANGED
@@ -313,10 +313,10 @@ if( ! function_exists('tutor_course_loop_wrap_classes')) {
313
 
314
  if( ! function_exists('tutor_course_loop_col_classes')) {
315
  function tutor_course_loop_col_classes( $echo = true ) {
316
- // $courseCols = tutor_utils()->get_option( 'courses_col_per_row', 4 );
317
- $courseCols = 2;
318
- $classes = apply_filters( 'tutor_course_loop_col_classes', array(
319
- 'tutor-course-col-' . $courseCols,
320
  ) );
321
 
322
  $class = implode( ' ', $classes );
313
 
314
  if( ! function_exists('tutor_course_loop_col_classes')) {
315
  function tutor_course_loop_col_classes( $echo = true ) {
316
+ $course_filter = (bool) tutor_utils()->get_option('course_filter');
317
+ $course_cols = ($course_filter) ? 2 : tutor_utils()->get_option( 'courses_col_per_row', 4 );
318
+ $classes = apply_filters( 'tutor_course_loop_col_classes', array(
319
+ 'tutor-course-col-' . $course_cols,
320
  ) );
321
 
322
  $class = implode( ' ', $classes );
languages/tutor.pot CHANGED
@@ -117,11 +117,11 @@ msgstr ""
117
  msgid "Tags"
118
  msgstr ""
119
 
120
- #: classes/Admin.php:60, classes/Admin.php:60, classes/Course.php:470, classes/Options.php:537, classes/Quiz_Attempts_List.php:110, views/pages/students.php:8
121
  msgid "Students"
122
  msgstr ""
123
 
124
- #: classes/Admin.php:63, classes/Admin.php:63, classes/Course.php:125, classes/Course.php:217, classes/Options.php:498, views/pages/instructors.php:18
125
  msgid "Instructors"
126
  msgstr ""
127
 
@@ -253,7 +253,7 @@ msgstr ""
253
  msgid "Topic has been updated"
254
  msgstr ""
255
 
256
- #: classes/Course.php:469, classes/Options.php:403, classes/Post_types.php:172
257
  msgid "Lessons"
258
  msgstr ""
259
 
@@ -286,7 +286,7 @@ msgid "You have to pass %s quizzes to complete this course."
286
  msgstr ""
287
 
288
  #: classes/Course.php:1251
289
- msgid "Is Course Public"
290
  msgstr ""
291
 
292
  #: classes/Course.php:1253
@@ -313,7 +313,7 @@ msgstr ""
313
  msgid "Maximum Students"
314
  msgstr ""
315
 
316
- #: classes/Course_Settings_Tabs.php:45, classes/Options.php:102, classes/Options.php:109, classes/Options.php:123, classes/Options.php:130, classes/Options.php:143, classes/Options.php:150, classes/Options.php:157, classes/Options.php:164, classes/Options.php:177, classes/Options.php:208, classes/Options.php:270, classes/Options.php:276, classes/Options.php:412, classes/Options.php:507, classes/Options.php:521, classes/Options.php:528, classes/Options.php:553, classes/Options.php:560, classes/Options.php:578, classes/Options.php:602
317
  msgid "Enable"
318
  msgstr ""
319
 
@@ -609,7 +609,7 @@ msgstr ""
609
  msgid "Tutor Native Login"
610
  msgstr ""
611
 
612
- #: classes/Options.php:116, classes/Options.php:283, classes/Options.php:290, classes/Options.php:297, classes/Options.php:304, classes/Options.php:311, classes/Options.php:318, classes/Options.php:325, classes/Options.php:332, classes/Options.php:339, classes/Options.php:346, classes/Options.php:353, classes/Options.php:360, classes/Options.php:367, classes/Options.php:374, classes/Options.php:381
613
  msgid "Disable"
614
  msgstr ""
615
 
@@ -717,7 +717,7 @@ msgstr ""
717
  msgid "Use Gutenberg editor on course description area."
718
  msgstr ""
719
 
720
- #: classes/Options.php:213, classes/Options.php:219, classes/Options.php:264, classes/Options.php:417, classes/WooCommerce.php:277
721
  msgid "Enable / Disable"
722
  msgstr ""
723
 
@@ -785,475 +785,483 @@ msgstr ""
785
  msgid "Define how many courses you want to show per page"
786
  msgstr ""
787
 
 
 
 
 
788
  #: classes/Options.php:265
 
 
 
 
789
  msgid "Course Display Settings"
790
  msgstr ""
791
 
792
- #: classes/Options.php:269
793
  msgid "Display Instructor Info"
794
  msgstr ""
795
 
796
- #: classes/Options.php:271
797
  msgid "Show instructor bio on each page"
798
  msgstr ""
799
 
800
- #: classes/Options.php:275
801
  msgid "Question and Answer"
802
  msgstr ""
803
 
804
- #: classes/Options.php:278
805
  msgid "Enabling this feature will add a Q&amp;A section on every course."
806
  msgstr ""
807
 
808
- #: classes/Options.php:282
809
  msgid "Course Author"
810
  msgstr ""
811
 
812
- #: classes/Options.php:285
813
  msgid "Disabling this feature will be removed course author name from the course page."
814
  msgstr ""
815
 
816
- #: classes/Options.php:289
817
  msgid "Course Level"
818
  msgstr ""
819
 
820
- #: classes/Options.php:292
821
  msgid "Disabling this feature will be removed course level from the course page."
822
  msgstr ""
823
 
824
- #: classes/Options.php:296
825
  msgid "Course Share"
826
  msgstr ""
827
 
828
- #: classes/Options.php:299
829
  msgid "Disabling this feature will be removed course share option from the course page."
830
  msgstr ""
831
 
832
- #: classes/Options.php:303
833
  msgid "Course Duration"
834
  msgstr ""
835
 
836
- #: classes/Options.php:306
837
  msgid "Disabling this feature will be removed course duration from the course page."
838
  msgstr ""
839
 
840
- #: classes/Options.php:310
841
  msgid "Course Total Enrolled"
842
  msgstr ""
843
 
844
- #: classes/Options.php:313
845
  msgid "Disabling this feature will be removed course total enrolled from the course page."
846
  msgstr ""
847
 
848
- #: classes/Options.php:317
849
  msgid "Course Update Date"
850
  msgstr ""
851
 
852
- #: classes/Options.php:320
853
  msgid "Disabling this feature will be removed course update date from the course page."
854
  msgstr ""
855
 
856
- #: classes/Options.php:324
857
  msgid "Course Progress Bar"
858
  msgstr ""
859
 
860
- #: classes/Options.php:327
861
  msgid "Disabling this feature will be removed completing progress bar from the course page."
862
  msgstr ""
863
 
864
- #: classes/Options.php:331
865
  msgid "Course Material"
866
  msgstr ""
867
 
868
- #: classes/Options.php:334
869
  msgid "Disabling this feature will be removed course material from the course page."
870
  msgstr ""
871
 
872
- #: classes/Options.php:338
873
  msgid "Course About"
874
  msgstr ""
875
 
876
- #: classes/Options.php:341
877
  msgid "Disabling this feature will be removed course about from the course page."
878
  msgstr ""
879
 
880
- #: classes/Options.php:345
881
  msgid "Course Description"
882
  msgstr ""
883
 
884
- #: classes/Options.php:348
885
  msgid "Disabling this feature will be removed course description from the course page."
886
  msgstr ""
887
 
888
- #: classes/Options.php:352
889
  msgid "Course Benefits"
890
  msgstr ""
891
 
892
- #: classes/Options.php:355
893
  msgid "Disabling this feature will be removed course benefits from the course page."
894
  msgstr ""
895
 
896
- #: classes/Options.php:359
897
  msgid "Course Requirements"
898
  msgstr ""
899
 
900
- #: classes/Options.php:362
901
  msgid "Disabling this feature will be removed course requirements from the course page."
902
  msgstr ""
903
 
904
- #: classes/Options.php:366
905
  msgid "Course Target Audience"
906
  msgstr ""
907
 
908
- #: classes/Options.php:369
909
  msgid "Disabling this feature will be removed course target audience from the course page."
910
  msgstr ""
911
 
912
- #: classes/Options.php:373
913
  msgid "Course Announcements"
914
  msgstr ""
915
 
916
- #: classes/Options.php:376
917
  msgid "Disabling this feature will be removed course announcements from the course page."
918
  msgstr ""
919
 
920
- #: classes/Options.php:380
921
  msgid "Course Review"
922
  msgstr ""
923
 
924
- #: classes/Options.php:383
925
  msgid "Disabling this feature will be removed course review system from the course page."
926
  msgstr ""
927
 
928
- #: classes/Options.php:387
929
  msgid "Preferred Video Source"
930
  msgstr ""
931
 
932
- #: classes/Options.php:389
933
  msgid "Choose video sources you'd like to support. Unchecking all will not disable video feature."
934
  msgstr ""
935
 
936
- #: classes/Options.php:393
937
  msgid "Default Video Source"
938
  msgstr ""
939
 
940
- #: classes/Options.php:396
941
  msgid "Choose video source to be selected by default."
942
  msgstr ""
943
 
944
- #: classes/Options.php:406
945
  msgid "Lesson Settings"
946
  msgstr ""
947
 
948
- #: classes/Options.php:407
949
  msgid "Lesson settings will be here"
950
  msgstr ""
951
 
952
- #: classes/Options.php:411, views/modal/edit-lesson.php:11
953
  msgid "Classic Editor"
954
  msgstr ""
955
 
956
- #: classes/Options.php:413
957
  msgid "Enable classic editor to get full support of any editor/page builder."
958
  msgstr ""
959
 
960
- #: classes/Options.php:418
961
  msgid "Automatically load next course content."
962
  msgstr ""
963
 
964
- #: classes/Options.php:419
965
  msgid "Enabling this feature will be load next course content automatically after finishing current video."
966
  msgstr ""
967
 
968
- #: classes/Options.php:423
969
  msgid "Lesson Permalink Base"
970
  msgstr ""
971
 
972
- #: classes/Options.php:433, classes/Options.php:436, classes/Quiz_Attempts_List.php:111, classes/Tutor_Setup.php:554, views/metabox/course-contents.php:148, views/metabox/course-topics.php:60, views/pages/view_attempt.php:39, templates/single/quiz/top.php:24
973
  msgid "Quiz"
974
  msgstr ""
975
 
976
- #: classes/Options.php:437
977
  msgid "The values you set here define the default values that are used in the settings form when you create a new quiz."
978
  msgstr ""
979
 
980
- #: classes/Options.php:441, classes/Tutor_Setup.php:423, views/modal/edit_quiz.php:146
981
  msgid "Time Limit"
982
  msgstr ""
983
 
984
- #: classes/Options.php:442
985
  msgid "0 means unlimited time."
986
  msgstr ""
987
 
988
- #: classes/Options.php:453, views/modal/edit_quiz.php:158
989
  msgid "Weeks"
990
  msgstr ""
991
 
992
- #: classes/Options.php:454, views/modal/edit_quiz.php:157
993
  msgid "Days"
994
  msgstr ""
995
 
996
- #: classes/Options.php:455, views/modal/edit_quiz.php:156
997
  msgid "Hours"
998
  msgstr ""
999
 
1000
- #: classes/Options.php:456, views/modal/edit_quiz.php:155
1001
  msgid "Minutes"
1002
  msgstr ""
1003
 
1004
- #: classes/Options.php:457, views/modal/edit_quiz.php:154
1005
  msgid "Seconds"
1006
  msgstr ""
1007
 
1008
- #: classes/Options.php:464
1009
  msgid "When time expires"
1010
  msgstr ""
1011
 
1012
- #: classes/Options.php:468, classes/Tutor_Setup.php:430
1013
  msgid "The current quiz answers are submitted automatically."
1014
  msgstr ""
1015
 
1016
- #: classes/Options.php:469, classes/Tutor_Setup.php:431
1017
  msgid "The current quiz answers are submitted by students."
1018
  msgstr ""
1019
 
1020
- #: classes/Options.php:470, classes/Tutor_Setup.php:432
1021
  msgid "Attempts must be submitted before time expires, otherwise they will not be counted"
1022
  msgstr ""
1023
 
1024
- #: classes/Options.php:472
1025
  msgid "Choose which action to follow when the quiz time expires."
1026
  msgstr ""
1027
 
1028
- #: classes/Options.php:476
1029
  msgid "Attempts allowed"
1030
  msgstr ""
1031
 
1032
- #: classes/Options.php:478
1033
  msgid "The highest number of attempts students are allowed to take for a quiz. 0 means unlimited attempts."
1034
  msgstr ""
1035
 
1036
- #: classes/Options.php:482
1037
  msgid "Final grade calculation"
1038
  msgstr ""
1039
 
1040
- #: classes/Options.php:486, classes/Tutor_Setup.php:446
1041
  msgid "Highest Grade"
1042
  msgstr ""
1043
 
1044
- #: classes/Options.php:487, classes/Tutor_Setup.php:451
1045
  msgid "Average Grade"
1046
  msgstr ""
1047
 
1048
- #: classes/Options.php:488, classes/Tutor_Setup.php:456
1049
  msgid "First Attempt"
1050
  msgstr ""
1051
 
1052
- #: classes/Options.php:489, classes/Tutor_Setup.php:461
1053
  msgid "Last Attempt"
1054
  msgstr ""
1055
 
1056
- #: classes/Options.php:491
1057
  msgid "When multiple attempts are allowed, which method should be used to calculate a student's final grade for the quiz."
1058
  msgstr ""
1059
 
1060
- #: classes/Options.php:501
1061
  msgid "Instructor Profile Settings"
1062
  msgstr ""
1063
 
1064
- #: classes/Options.php:502, classes/Options.php:541, classes/Options.php:573
1065
  msgid "Enable Disable Option to on/off notification on various event"
1066
  msgstr ""
1067
 
1068
- #: classes/Options.php:506
1069
  msgid "Course Marketplace"
1070
  msgstr ""
1071
 
1072
- #: classes/Options.php:509
1073
  msgid "Allow multiple instructors to upload their courses."
1074
  msgstr ""
1075
 
1076
- #: classes/Options.php:513, classes/Utils.php:5505
1077
  msgid "Instructor Registration Page"
1078
  msgstr ""
1079
 
1080
- #: classes/Options.php:516
1081
  msgid "This page will be used to sign up new instructors."
1082
  msgstr ""
1083
 
1084
- #: classes/Options.php:520
1085
  msgid "Allow publishing course"
1086
  msgstr ""
1087
 
1088
- #: classes/Options.php:523
1089
  msgid "Enable instructors to publish course directly. <strong>Do not select</strong> if admins want to review courses before publishing."
1090
  msgstr ""
1091
 
1092
- #: classes/Options.php:527
1093
  msgid "Become Instructor Button"
1094
  msgstr ""
1095
 
1096
- #: classes/Options.php:530
1097
  msgid "Uncheck this option to hide the button from student dashboard."
1098
  msgstr ""
1099
 
1100
- #: classes/Options.php:540
1101
  msgid "Student Profile settings"
1102
  msgstr ""
1103
 
1104
- #: classes/Options.php:545, classes/Utils.php:5506
1105
  msgid "Student Registration Page"
1106
  msgstr ""
1107
 
1108
- #: classes/Options.php:548
1109
  msgid "Choose the page for student registration page"
1110
  msgstr ""
1111
 
1112
- #: classes/Options.php:552
1113
  msgid "Show reviews on profile"
1114
  msgstr ""
1115
 
1116
- #: classes/Options.php:555
1117
  msgid "Enabling this will show the reviews written by each student on their profile"
1118
  msgstr ""
1119
 
1120
- #: classes/Options.php:559
1121
  msgid "Show completed courses"
1122
  msgstr ""
1123
 
1124
- #: classes/Options.php:562
1125
  msgid "Completed courses will be shown on student profiles. <br/> For example, you can see this link-"
1126
  msgstr ""
1127
 
1128
- #: classes/Options.php:569, classes/Options.php:577, classes/Tutor_Setup.php:482, templates/dashboard/earning/statement.php:14, templates/dashboard/earning/statements.php:135
1129
  msgid "Earning"
1130
  msgstr ""
1131
 
1132
- #: classes/Options.php:572
1133
  msgid "Earning and commission allocation"
1134
  msgstr ""
1135
 
1136
- #: classes/Options.php:580
1137
  msgid "If disabled, the Admin will receive 100% of the earning"
1138
  msgstr ""
1139
 
1140
- #: classes/Options.php:584
1141
  msgid "Admin Commission Percentage"
1142
  msgstr ""
1143
 
1144
- #: classes/Options.php:586
1145
  msgid "Define the commission of the Admin from each sale.(after deducting fees)"
1146
  msgstr ""
1147
 
1148
- #: classes/Options.php:590
1149
  msgid "Instructor Commission Percentage"
1150
  msgstr ""
1151
 
1152
- #: classes/Options.php:592
1153
  msgid "Define the commission for instructors from each sale.(after deducting fees)"
1154
  msgstr ""
1155
 
1156
- #: classes/Options.php:596
1157
  msgid "Fee Deduction"
1158
  msgstr ""
1159
 
1160
- #: classes/Options.php:597
1161
  msgid "Fees are charged from the entire sales amount. The remaining amount will be divided among admin and instructors."
1162
  msgstr ""
1163
 
1164
- #: classes/Options.php:607
1165
  msgid "Fee Name"
1166
  msgstr ""
1167
 
1168
- #: classes/Options.php:612
1169
  msgid "Fee Amount"
1170
  msgstr ""
1171
 
1172
- #: classes/Options.php:620
1173
  msgid "Select Fees Type"
1174
  msgstr ""
1175
 
1176
- #: classes/Options.php:621
1177
  msgid "Percent"
1178
  msgstr ""
1179
 
1180
- #: classes/Options.php:622
1181
  msgid "Fixed"
1182
  msgstr ""
1183
 
1184
- #: classes/Options.php:630
1185
  msgid "Show Statement Per Page"
1186
  msgstr ""
1187
 
1188
- #: classes/Options.php:632
1189
  msgid "Define the number of statements to show."
1190
  msgstr ""
1191
 
1192
- #: classes/Options.php:639, templates/dashboard/settings/withdraw-settings.php:23
1193
  msgid "Withdrawal"
1194
  msgstr ""
1195
 
1196
- #: classes/Options.php:642
1197
  msgid "Withdrawal Settings"
1198
  msgstr ""
1199
 
1200
- #: classes/Options.php:646
1201
  msgid "Minimum Withdraw Amount"
1202
  msgstr ""
1203
 
1204
- #: classes/Options.php:648
1205
  msgid "Instructors should earn equal or above this amount to make a withdraw request."
1206
  msgstr ""
1207
 
1208
- #: classes/Options.php:654
1209
  msgid "Withdraw Methods"
1210
  msgstr ""
1211
 
1212
- #: classes/Options.php:655
1213
  msgid "Set withdraw settings"
1214
  msgstr ""
1215
 
1216
- #: classes/Options.php:661
1217
  msgid "Style"
1218
  msgstr ""
1219
 
1220
- #: classes/Options.php:664
1221
  msgid "Color Style"
1222
  msgstr ""
1223
 
1224
- #: classes/Options.php:668
1225
  msgid "Primary Color"
1226
  msgstr ""
1227
 
1228
- #: classes/Options.php:673
1229
  msgid "Primary Hover Color"
1230
  msgstr ""
1231
 
1232
- #: classes/Options.php:678
1233
  msgid "Text color"
1234
  msgstr ""
1235
 
1236
- #: classes/Options.php:683
1237
  msgid "Light color"
1238
  msgstr ""
1239
 
1240
- #: classes/Options.php:693, classes/Options.php:696
1241
  msgid "Monetization"
1242
  msgstr ""
1243
 
1244
- #: classes/Options.php:697
1245
  msgid "You can monetize your LMS website by selling courses in a various way."
1246
  msgstr ""
1247
 
1248
- #: classes/Options.php:702
1249
  msgid "Monetize Option"
1250
  msgstr ""
1251
 
1252
- #: classes/Options.php:706
1253
  msgid "Disable Monetization"
1254
  msgstr ""
1255
 
1256
- #: classes/Options.php:708
1257
  msgid "Select a monetization option to generate revenue by selling courses. Supports: WooCommerce, Easy Digital Downloads, Paid Memberships Pro"
1258
  msgstr ""
1259
 
117
  msgid "Tags"
118
  msgstr ""
119
 
120
+ #: classes/Admin.php:60, classes/Admin.php:60, classes/Course.php:470, classes/Options.php:543, classes/Quiz_Attempts_List.php:110, views/pages/students.php:8
121
  msgid "Students"
122
  msgstr ""
123
 
124
+ #: classes/Admin.php:63, classes/Admin.php:63, classes/Course.php:125, classes/Course.php:217, classes/Options.php:504, views/pages/instructors.php:18
125
  msgid "Instructors"
126
  msgstr ""
127
 
253
  msgid "Topic has been updated"
254
  msgstr ""
255
 
256
+ #: classes/Course.php:469, classes/Options.php:409, classes/Post_types.php:172
257
  msgid "Lessons"
258
  msgstr ""
259
 
286
  msgstr ""
287
 
288
  #: classes/Course.php:1251
289
+ msgid "Make This Course Public"
290
  msgstr ""
291
 
292
  #: classes/Course.php:1253
313
  msgid "Maximum Students"
314
  msgstr ""
315
 
316
+ #: classes/Course_Settings_Tabs.php:45, classes/Options.php:102, classes/Options.php:109, classes/Options.php:123, classes/Options.php:130, classes/Options.php:143, classes/Options.php:150, classes/Options.php:157, classes/Options.php:164, classes/Options.php:177, classes/Options.php:208, classes/Options.php:264, classes/Options.php:276, classes/Options.php:282, classes/Options.php:418, classes/Options.php:513, classes/Options.php:527, classes/Options.php:534, classes/Options.php:559, classes/Options.php:566, classes/Options.php:584, classes/Options.php:608
317
  msgid "Enable"
318
  msgstr ""
319
 
609
  msgid "Tutor Native Login"
610
  msgstr ""
611
 
612
+ #: classes/Options.php:116, classes/Options.php:289, classes/Options.php:296, classes/Options.php:303, classes/Options.php:310, classes/Options.php:317, classes/Options.php:324, classes/Options.php:331, classes/Options.php:338, classes/Options.php:345, classes/Options.php:352, classes/Options.php:359, classes/Options.php:366, classes/Options.php:373, classes/Options.php:380, classes/Options.php:387
613
  msgid "Disable"
614
  msgstr ""
615
 
717
  msgid "Use Gutenberg editor on course description area."
718
  msgstr ""
719
 
720
+ #: classes/Options.php:213, classes/Options.php:219, classes/Options.php:270, classes/Options.php:423, classes/WooCommerce.php:277
721
  msgid "Enable / Disable"
722
  msgstr ""
723
 
785
  msgid "Define how many courses you want to show per page"
786
  msgstr ""
787
 
788
+ #: classes/Options.php:263
789
+ msgid "Course Filter"
790
+ msgstr ""
791
+
792
  #: classes/Options.php:265
793
+ msgid "Show sorting and filtering options on course archive page"
794
+ msgstr ""
795
+
796
+ #: classes/Options.php:271
797
  msgid "Course Display Settings"
798
  msgstr ""
799
 
800
+ #: classes/Options.php:275
801
  msgid "Display Instructor Info"
802
  msgstr ""
803
 
804
+ #: classes/Options.php:277
805
  msgid "Show instructor bio on each page"
806
  msgstr ""
807
 
808
+ #: classes/Options.php:281
809
  msgid "Question and Answer"
810
  msgstr ""
811
 
812
+ #: classes/Options.php:284
813
  msgid "Enabling this feature will add a Q&amp;A section on every course."
814
  msgstr ""
815
 
816
+ #: classes/Options.php:288
817
  msgid "Course Author"
818
  msgstr ""
819
 
820
+ #: classes/Options.php:291
821
  msgid "Disabling this feature will be removed course author name from the course page."
822
  msgstr ""
823
 
824
+ #: classes/Options.php:295
825
  msgid "Course Level"
826
  msgstr ""
827
 
828
+ #: classes/Options.php:298
829
  msgid "Disabling this feature will be removed course level from the course page."
830
  msgstr ""
831
 
832
+ #: classes/Options.php:302
833
  msgid "Course Share"
834
  msgstr ""
835
 
836
+ #: classes/Options.php:305
837
  msgid "Disabling this feature will be removed course share option from the course page."
838
  msgstr ""
839
 
840
+ #: classes/Options.php:309
841
  msgid "Course Duration"
842
  msgstr ""
843
 
844
+ #: classes/Options.php:312
845
  msgid "Disabling this feature will be removed course duration from the course page."
846
  msgstr ""
847
 
848
+ #: classes/Options.php:316
849
  msgid "Course Total Enrolled"
850
  msgstr ""
851
 
852
+ #: classes/Options.php:319
853
  msgid "Disabling this feature will be removed course total enrolled from the course page."
854
  msgstr ""
855
 
856
+ #: classes/Options.php:323
857
  msgid "Course Update Date"
858
  msgstr ""
859
 
860
+ #: classes/Options.php:326
861
  msgid "Disabling this feature will be removed course update date from the course page."
862
  msgstr ""
863
 
864
+ #: classes/Options.php:330
865
  msgid "Course Progress Bar"
866
  msgstr ""
867
 
868
+ #: classes/Options.php:333
869
  msgid "Disabling this feature will be removed completing progress bar from the course page."
870
  msgstr ""
871
 
872
+ #: classes/Options.php:337
873
  msgid "Course Material"
874
  msgstr ""
875
 
876
+ #: classes/Options.php:340
877
  msgid "Disabling this feature will be removed course material from the course page."
878
  msgstr ""
879
 
880
+ #: classes/Options.php:344
881
  msgid "Course About"
882
  msgstr ""
883
 
884
+ #: classes/Options.php:347
885
  msgid "Disabling this feature will be removed course about from the course page."
886
  msgstr ""
887
 
888
+ #: classes/Options.php:351
889
  msgid "Course Description"
890
  msgstr ""
891
 
892
+ #: classes/Options.php:354
893
  msgid "Disabling this feature will be removed course description from the course page."
894
  msgstr ""
895
 
896
+ #: classes/Options.php:358
897
  msgid "Course Benefits"
898
  msgstr ""
899
 
900
+ #: classes/Options.php:361
901
  msgid "Disabling this feature will be removed course benefits from the course page."
902
  msgstr ""
903
 
904
+ #: classes/Options.php:365
905
  msgid "Course Requirements"
906
  msgstr ""
907
 
908
+ #: classes/Options.php:368
909
  msgid "Disabling this feature will be removed course requirements from the course page."
910
  msgstr ""
911
 
912
+ #: classes/Options.php:372
913
  msgid "Course Target Audience"
914
  msgstr ""
915
 
916
+ #: classes/Options.php:375
917
  msgid "Disabling this feature will be removed course target audience from the course page."
918
  msgstr ""
919
 
920
+ #: classes/Options.php:379
921
  msgid "Course Announcements"
922
  msgstr ""
923
 
924
+ #: classes/Options.php:382
925
  msgid "Disabling this feature will be removed course announcements from the course page."
926
  msgstr ""
927
 
928
+ #: classes/Options.php:386
929
  msgid "Course Review"
930
  msgstr ""
931
 
932
+ #: classes/Options.php:389
933
  msgid "Disabling this feature will be removed course review system from the course page."
934
  msgstr ""
935
 
936
+ #: classes/Options.php:393
937
  msgid "Preferred Video Source"
938
  msgstr ""
939
 
940
+ #: classes/Options.php:395
941
  msgid "Choose video sources you'd like to support. Unchecking all will not disable video feature."
942
  msgstr ""
943
 
944
+ #: classes/Options.php:399
945
  msgid "Default Video Source"
946
  msgstr ""
947
 
948
+ #: classes/Options.php:402
949
  msgid "Choose video source to be selected by default."
950
  msgstr ""
951
 
952
+ #: classes/Options.php:412
953
  msgid "Lesson Settings"
954
  msgstr ""
955
 
956
+ #: classes/Options.php:413
957
  msgid "Lesson settings will be here"
958
  msgstr ""
959
 
960
+ #: classes/Options.php:417, views/modal/edit-lesson.php:11
961
  msgid "Classic Editor"
962
  msgstr ""
963
 
964
+ #: classes/Options.php:419
965
  msgid "Enable classic editor to get full support of any editor/page builder."
966
  msgstr ""
967
 
968
+ #: classes/Options.php:424
969
  msgid "Automatically load next course content."
970
  msgstr ""
971
 
972
+ #: classes/Options.php:425
973
  msgid "Enabling this feature will be load next course content automatically after finishing current video."
974
  msgstr ""
975
 
976
+ #: classes/Options.php:429
977
  msgid "Lesson Permalink Base"
978
  msgstr ""
979
 
980
+ #: classes/Options.php:439, classes/Options.php:442, classes/Quiz_Attempts_List.php:111, classes/Tutor_Setup.php:554, views/metabox/course-contents.php:148, views/metabox/course-topics.php:60, views/pages/view_attempt.php:39, templates/single/quiz/top.php:24
981
  msgid "Quiz"
982
  msgstr ""
983
 
984
+ #: classes/Options.php:443
985
  msgid "The values you set here define the default values that are used in the settings form when you create a new quiz."
986
  msgstr ""
987
 
988
+ #: classes/Options.php:447, classes/Tutor_Setup.php:423, views/modal/edit_quiz.php:146
989
  msgid "Time Limit"
990
  msgstr ""
991
 
992
+ #: classes/Options.php:448
993
  msgid "0 means unlimited time."
994
  msgstr ""
995
 
996
+ #: classes/Options.php:459, views/modal/edit_quiz.php:158
997
  msgid "Weeks"
998
  msgstr ""
999
 
1000
+ #: classes/Options.php:460, views/modal/edit_quiz.php:157
1001
  msgid "Days"
1002
  msgstr ""
1003
 
1004
+ #: classes/Options.php:461, views/modal/edit_quiz.php:156
1005
  msgid "Hours"
1006
  msgstr ""
1007
 
1008
+ #: classes/Options.php:462, views/modal/edit_quiz.php:155
1009
  msgid "Minutes"
1010
  msgstr ""
1011
 
1012
+ #: classes/Options.php:463, views/modal/edit_quiz.php:154
1013
  msgid "Seconds"
1014
  msgstr ""
1015
 
1016
+ #: classes/Options.php:470
1017
  msgid "When time expires"
1018
  msgstr ""
1019
 
1020
+ #: classes/Options.php:474, classes/Tutor_Setup.php:430
1021
  msgid "The current quiz answers are submitted automatically."
1022
  msgstr ""
1023
 
1024
+ #: classes/Options.php:475, classes/Tutor_Setup.php:431
1025
  msgid "The current quiz answers are submitted by students."
1026
  msgstr ""
1027
 
1028
+ #: classes/Options.php:476, classes/Tutor_Setup.php:432
1029
  msgid "Attempts must be submitted before time expires, otherwise they will not be counted"
1030
  msgstr ""
1031
 
1032
+ #: classes/Options.php:478
1033
  msgid "Choose which action to follow when the quiz time expires."
1034
  msgstr ""
1035
 
1036
+ #: classes/Options.php:482
1037
  msgid "Attempts allowed"
1038
  msgstr ""
1039
 
1040
+ #: classes/Options.php:484
1041
  msgid "The highest number of attempts students are allowed to take for a quiz. 0 means unlimited attempts."
1042
  msgstr ""
1043
 
1044
+ #: classes/Options.php:488
1045
  msgid "Final grade calculation"
1046
  msgstr ""
1047
 
1048
+ #: classes/Options.php:492, classes/Tutor_Setup.php:446
1049
  msgid "Highest Grade"
1050
  msgstr ""
1051
 
1052
+ #: classes/Options.php:493, classes/Tutor_Setup.php:451
1053
  msgid "Average Grade"
1054
  msgstr ""
1055
 
1056
+ #: classes/Options.php:494, classes/Tutor_Setup.php:456
1057
  msgid "First Attempt"
1058
  msgstr ""
1059
 
1060
+ #: classes/Options.php:495, classes/Tutor_Setup.php:461
1061
  msgid "Last Attempt"
1062
  msgstr ""
1063
 
1064
+ #: classes/Options.php:497
1065
  msgid "When multiple attempts are allowed, which method should be used to calculate a student's final grade for the quiz."
1066
  msgstr ""
1067
 
1068
+ #: classes/Options.php:507
1069
  msgid "Instructor Profile Settings"
1070
  msgstr ""
1071
 
1072
+ #: classes/Options.php:508, classes/Options.php:547, classes/Options.php:579
1073
  msgid "Enable Disable Option to on/off notification on various event"
1074
  msgstr ""
1075
 
1076
+ #: classes/Options.php:512
1077
  msgid "Course Marketplace"
1078
  msgstr ""
1079
 
1080
+ #: classes/Options.php:515
1081
  msgid "Allow multiple instructors to upload their courses."
1082
  msgstr ""
1083
 
1084
+ #: classes/Options.php:519, classes/Utils.php:5505
1085
  msgid "Instructor Registration Page"
1086
  msgstr ""
1087
 
1088
+ #: classes/Options.php:522
1089
  msgid "This page will be used to sign up new instructors."
1090
  msgstr ""
1091
 
1092
+ #: classes/Options.php:526
1093
  msgid "Allow publishing course"
1094
  msgstr ""
1095
 
1096
+ #: classes/Options.php:529
1097
  msgid "Enable instructors to publish course directly. <strong>Do not select</strong> if admins want to review courses before publishing."
1098
  msgstr ""
1099
 
1100
+ #: classes/Options.php:533
1101
  msgid "Become Instructor Button"
1102
  msgstr ""
1103
 
1104
+ #: classes/Options.php:536
1105
  msgid "Uncheck this option to hide the button from student dashboard."
1106
  msgstr ""
1107
 
1108
+ #: classes/Options.php:546
1109
  msgid "Student Profile settings"
1110
  msgstr ""
1111
 
1112
+ #: classes/Options.php:551, classes/Utils.php:5506
1113
  msgid "Student Registration Page"
1114
  msgstr ""
1115
 
1116
+ #: classes/Options.php:554
1117
  msgid "Choose the page for student registration page"
1118
  msgstr ""
1119
 
1120
+ #: classes/Options.php:558
1121
  msgid "Show reviews on profile"
1122
  msgstr ""
1123
 
1124
+ #: classes/Options.php:561
1125
  msgid "Enabling this will show the reviews written by each student on their profile"
1126
  msgstr ""
1127
 
1128
+ #: classes/Options.php:565
1129
  msgid "Show completed courses"
1130
  msgstr ""
1131
 
1132
+ #: classes/Options.php:568
1133
  msgid "Completed courses will be shown on student profiles. <br/> For example, you can see this link-"
1134
  msgstr ""
1135
 
1136
+ #: classes/Options.php:575, classes/Options.php:583, classes/Tutor_Setup.php:482, templates/dashboard/earning/statement.php:14, templates/dashboard/earning/statements.php:135
1137
  msgid "Earning"
1138
  msgstr ""
1139
 
1140
+ #: classes/Options.php:578
1141
  msgid "Earning and commission allocation"
1142
  msgstr ""
1143
 
1144
+ #: classes/Options.php:586
1145
  msgid "If disabled, the Admin will receive 100% of the earning"
1146
  msgstr ""
1147
 
1148
+ #: classes/Options.php:590
1149
  msgid "Admin Commission Percentage"
1150
  msgstr ""
1151
 
1152
+ #: classes/Options.php:592
1153
  msgid "Define the commission of the Admin from each sale.(after deducting fees)"
1154
  msgstr ""
1155
 
1156
+ #: classes/Options.php:596
1157
  msgid "Instructor Commission Percentage"
1158
  msgstr ""
1159
 
1160
+ #: classes/Options.php:598
1161
  msgid "Define the commission for instructors from each sale.(after deducting fees)"
1162
  msgstr ""
1163
 
1164
+ #: classes/Options.php:602
1165
  msgid "Fee Deduction"
1166
  msgstr ""
1167
 
1168
+ #: classes/Options.php:603
1169
  msgid "Fees are charged from the entire sales amount. The remaining amount will be divided among admin and instructors."
1170
  msgstr ""
1171
 
1172
+ #: classes/Options.php:613
1173
  msgid "Fee Name"
1174
  msgstr ""
1175
 
1176
+ #: classes/Options.php:618
1177
  msgid "Fee Amount"
1178
  msgstr ""
1179
 
1180
+ #: classes/Options.php:626
1181
  msgid "Select Fees Type"
1182
  msgstr ""
1183
 
1184
+ #: classes/Options.php:627
1185
  msgid "Percent"
1186
  msgstr ""
1187
 
1188
+ #: classes/Options.php:628
1189
  msgid "Fixed"
1190
  msgstr ""
1191
 
1192
+ #: classes/Options.php:636
1193
  msgid "Show Statement Per Page"
1194
  msgstr ""
1195
 
1196
+ #: classes/Options.php:638
1197
  msgid "Define the number of statements to show."
1198
  msgstr ""
1199
 
1200
+ #: classes/Options.php:645, templates/dashboard/settings/withdraw-settings.php:23
1201
  msgid "Withdrawal"
1202
  msgstr ""
1203
 
1204
+ #: classes/Options.php:648
1205
  msgid "Withdrawal Settings"
1206
  msgstr ""
1207
 
1208
+ #: classes/Options.php:652
1209
  msgid "Minimum Withdraw Amount"
1210
  msgstr ""
1211
 
1212
+ #: classes/Options.php:654
1213
  msgid "Instructors should earn equal or above this amount to make a withdraw request."
1214
  msgstr ""
1215
 
1216
+ #: classes/Options.php:660
1217
  msgid "Withdraw Methods"
1218
  msgstr ""
1219
 
1220
+ #: classes/Options.php:661
1221
  msgid "Set withdraw settings"
1222
  msgstr ""
1223
 
1224
+ #: classes/Options.php:667
1225
  msgid "Style"
1226
  msgstr ""
1227
 
1228
+ #: classes/Options.php:670
1229
  msgid "Color Style"
1230
  msgstr ""
1231
 
1232
+ #: classes/Options.php:674
1233
  msgid "Primary Color"
1234
  msgstr ""
1235
 
1236
+ #: classes/Options.php:679
1237
  msgid "Primary Hover Color"
1238
  msgstr ""
1239
 
1240
+ #: classes/Options.php:684
1241
  msgid "Text color"
1242
  msgstr ""
1243
 
1244
+ #: classes/Options.php:689
1245
  msgid "Light color"
1246
  msgstr ""
1247
 
1248
+ #: classes/Options.php:699, classes/Options.php:702
1249
  msgid "Monetization"
1250
  msgstr ""
1251
 
1252
+ #: classes/Options.php:703
1253
  msgid "You can monetize your LMS website by selling courses in a various way."
1254
  msgstr ""
1255
 
1256
+ #: classes/Options.php:708
1257
  msgid "Monetize Option"
1258
  msgstr ""
1259
 
1260
+ #: classes/Options.php:712
1261
  msgid "Disable Monetization"
1262
  msgstr ""
1263
 
1264
+ #: classes/Options.php:714
1265
  msgid "Select a monetization option to generate revenue by selling courses. Supports: WooCommerce, Easy Digital Downloads, Paid Memberships Pro"
1266
  msgstr ""
1267
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: lms, course, elearning, education, learning management system
5
  Requires at least: 5.3
6
  Tested up to: 5.5.1
7
  Requires PHP: 7.0
8
- Stable tag: 1.7.2
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -241,6 +241,10 @@ Tutor enables you to use any third party plugins without facing any compatibilit
241
 
242
  == Changelog ==
243
 
 
 
 
 
244
  = 1.7.2 - October 21, 2020 =
245
 
246
  New: Course filter option in Course Archive page
5
  Requires at least: 5.3
6
  Tested up to: 5.5.1
7
  Requires PHP: 7.0
8
+ Stable tag: 1.7.3
9
  License: GPLv3
10
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
 
241
 
242
  == Changelog ==
243
 
244
+ = 1.7.3 - October 21, 2020 =
245
+
246
+ Update: Added option to turn on course archive filters
247
+
248
  = 1.7.2 - October 21, 2020 =
249
 
250
  New: Course filter option in Course Archive page
templates/archive-course.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  /**
3
  * Template for displaying courses
4
  *
@@ -11,7 +12,12 @@
11
  * @version 1.5.8
12
  */
13
 
14
- get_header(); ?>
 
 
 
 
 
15
  <div class="tutor-course-filter-wrapper">
16
  <div class="tutor-course-filter-container">
17
  <?php tutor_load_template('course-filter.filters'); ?>
@@ -22,6 +28,8 @@ get_header(); ?>
22
  </div><!-- .wrap -->
23
  </div>
24
  </div>
25
-
26
-
27
- <?php get_footer();
 
 
1
  <?php
2
+
3
  /**
4
  * Template for displaying courses
5
  *
12
  * @version 1.5.8
13
  */
14
 
15
+ get_header();
16
+
17
+ $course_filter = (bool) tutor_utils()->get_option('course_filter');
18
+
19
+ if ($course_filter) {
20
+ ?>
21
  <div class="tutor-course-filter-wrapper">
22
  <div class="tutor-course-filter-container">
23
  <?php tutor_load_template('course-filter.filters'); ?>
28
  </div><!-- .wrap -->
29
  </div>
30
  </div>
31
+ <?php
32
+ } else {
33
+ tutor_load_template('archive-course-init');
34
+ }
35
+ get_footer(); ?>
tutor.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Tutor LMS
4
  Plugin URI: https://www.themeum.com/product/tutor-lms/
5
  Description: Tutor is a complete solution for creating a Learning Management System in WordPress way. It can help you to create small to large scale online education site very conveniently. Power features like report, certificate, course preview, private file sharing make Tutor a robust plugin for any educational institutes.
6
  Author: Themeum
7
- Version: 1.7.2
8
  Author URI: https://themeum.com
9
  Requires at least: 4.5
10
  Tested up to: 5.3
@@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) )
17
  /**
18
  * Defined the tutor main file
19
  */
20
- define('TUTOR_VERSION', '1.7.2');
21
  define('TUTOR_FILE', __FILE__);
22
 
23
  /**
4
  Plugin URI: https://www.themeum.com/product/tutor-lms/
5
  Description: Tutor is a complete solution for creating a Learning Management System in WordPress way. It can help you to create small to large scale online education site very conveniently. Power features like report, certificate, course preview, private file sharing make Tutor a robust plugin for any educational institutes.
6
  Author: Themeum
7
+ Version: 1.7.3
8
  Author URI: https://themeum.com
9
  Requires at least: 4.5
10
  Tested up to: 5.3
17
  /**
18
  * Defined the tutor main file
19
  */
20
+ define('TUTOR_VERSION', '1.7.3');
21
  define('TUTOR_FILE', __FILE__);
22
 
23
  /**