Add description to config post types

This commit is contained in:
Brian Miyaji
2014-04-24 12:18:04 +10:00
parent 63e1ace191
commit feb870c491
8 changed files with 153 additions and 89 deletions

View File

@@ -228,7 +228,7 @@
<td><?php echo get_option( 'sportspress_sport', __( 'None', 'sportspress' ) ); ?></td>
</tr>
<tr>
<td><?php _e( 'Results', 'sportspress' ); ?>:</td>
<td><?php _e( 'Team Results', 'sportspress' ); ?>:</td>
<td><?php
$display_posts = array();
$posts = get_posts( array( 'post_type' => 'sp_result', 'orderby' => 'menu_order', 'order' => 'ASC', 'posts_per_page' => -1, 'post_status' => 'any' ) );
@@ -238,7 +238,7 @@
?></td>
</tr>
<tr>
<td><?php _e( 'Outcomes', 'sportspress' ); ?>:</td>
<td><?php _e( 'Event Outcomes', 'sportspress' ); ?>:</td>
<td><?php
$display_posts = array();
$posts = get_posts( array( 'post_type' => 'sp_outcome', 'orderby' => 'menu_order', 'order' => 'ASC', 'posts_per_page' => -1, 'post_status' => 'any' ) );
@@ -248,7 +248,7 @@
?></td>
</tr>
<tr>
<td><?php _e( 'Columns', 'sportspress' ); ?>:</td>
<td><?php _e( 'Table Columns', 'sportspress' ); ?>:</td>
<td><?php
$display_posts = array();
$posts = get_posts( array( 'post_type' => 'sp_column', 'orderby' => 'menu_order', 'order' => 'ASC', 'posts_per_page' => -1, 'post_status' => 'any' ) );
@@ -258,7 +258,7 @@
?></td>
</tr>
<tr>
<td><?php _e( 'Metrics', 'sportspress' ); ?>:</td>
<td><?php _e( 'Player Metrics', 'sportspress' ); ?>:</td>
<td><?php
$display_posts = array();
$posts = get_posts( array( 'post_type' => 'sp_metric', 'orderby' => 'menu_order', 'order' => 'ASC', 'posts_per_page' => -1, 'post_status' => 'any' ) );
@@ -268,7 +268,7 @@
?></td>
</tr>
<tr>
<td><?php _e( 'Performance', 'sportspress' ); ?>:</td>
<td><?php _e( 'Player Performance', 'sportspress' ); ?>:</td>
<td><?php
$display_posts = array();
$posts = get_posts( array( 'post_type' => 'sp_performance', 'orderby' => 'menu_order', 'order' => 'ASC', 'posts_per_page' => -1, 'post_status' => 'any' ) );