Changeset 2020251
- Timestamp:
- 01/28/2019 09:32:52 AM (7 years ago)
- Location:
- sd-classes/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (1 diff)
-
src/postType/SdrostClassPostType.php (modified) (2 diffs)
-
src/postType/SdrostClassTrainerPostType.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sd-classes/trunk/readme.txt
r1993032 r2020251 1 1 === SDROST CLASSES === 2 2 Contributors: sdwebdevelopment 3 Tags: classes, timetable, responsive 3 Tags: classes, timetable, responsive, calendar, trainer, timesheet 4 4 Requires at least: 4.9.5 5 5 Tested up to: 5.0 -
sd-classes/trunk/src/postType/SdrostClassPostType.php
r1991172 r2020251 195 195 </div> 196 196 <?php } else { 197 foreach ($trainerData as $ trainer) { ?>197 foreach ($trainerData as $index => $trainer) { ?> 198 198 <div class="sdrost_class_trainer_fieldset"> 199 199 <select id="sdrost_class_trainer_data" name="sdrost_class_trainer_data[]" > … … 202 202 203 203 echo '<option value="' . $key . '"'; 204 if($key == $trainer ) echo ' selected';204 if($key == $trainer['id']) echo ' selected'; 205 205 echo '>' . $trainerTitle . '</option>'; 206 206 } -
sd-classes/trunk/src/postType/SdrostClassTrainerPostType.php
r1991172 r2020251 121 121 { 122 122 $args = array( 123 'post_type' => self::SDROST_CLASS_TRAINERS_POST_TYPE 123 'post_type' => self::SDROST_CLASS_TRAINERS_POST_TYPE, 124 'posts_per_page' => 50 124 125 ); 125 126 // The Query
Note: See TracChangeset
for help on using the changeset viewer.