Add settings tabs and config page
This commit is contained in:
@@ -55,11 +55,16 @@ function sp_manage_posts_custom_column( $column, $post_id ) {
|
||||
echo get_post_meta ( $post_id, 'sp_team' ) ? sp_the_posts( $post_id, 'sp_team', '', '<br />', $result, ( empty( $result ) ? ' — ' : ' ' ) ) : '—';
|
||||
break;
|
||||
case 'sp_equation':
|
||||
echo str_replace(
|
||||
array( '$', '+', '-', '*', '/' ),
|
||||
array( '', '+', '−', '×', '÷' ),
|
||||
get_post_meta ( $post_id, 'sp_equation', true )
|
||||
);
|
||||
$equation = get_post_meta ( $post_id, 'sp_equation', true );
|
||||
if ( $equation ):
|
||||
echo str_replace(
|
||||
array( '$', '+', '-', '*', '/' ),
|
||||
array( '', '+', '−', '×', '÷' ),
|
||||
$equation
|
||||
);
|
||||
else:
|
||||
echo '—';
|
||||
endif;
|
||||
break;
|
||||
case 'sp_order':
|
||||
$priority = get_post_meta ( $post_id, 'sp_priority', true );
|
||||
|
||||
Reference in New Issue
Block a user