Add match day field to events and calendars
This commit is contained in:
@@ -554,6 +554,16 @@ class SP_AJAX {
|
||||
<input type="text" size="3" name="number" id="number" value="5">
|
||||
</label>
|
||||
</p>
|
||||
<p>
|
||||
<label>
|
||||
<?php _e( 'Sort by:', 'sportspress' ); ?>
|
||||
<select id="orderby" name="orderby">
|
||||
<option value="default"><?php _e( 'Default', 'sportspress' ); ?></option>
|
||||
<option value="date"><?php _e( 'Date', 'sportspress' ); ?></option>
|
||||
<option value="day"><?php _e( 'Match Day', 'sportspress' ); ?></option>
|
||||
</select>
|
||||
</label>
|
||||
</p>
|
||||
<p>
|
||||
<label>
|
||||
<?php _e( 'Sort Order:', 'sportspress' ); ?>
|
||||
@@ -934,6 +944,7 @@ class SP_AJAX {
|
||||
args.status = $div.find('[name=status]').val();
|
||||
args.date = $div.find('[name=date]').val();
|
||||
args.number = $div.find('[name=number]').val();
|
||||
args.orderby = $div.find('[name=orderby]').val();
|
||||
args.order = $div.find('[name=order]').val();
|
||||
args.show_all_events_link = $div.find('[name=show_all_events_link]:checked').length;
|
||||
} else if ( 'league_table' == type ) {
|
||||
|
||||
Reference in New Issue
Block a user