65 lines
3.2 KiB
PHP
65 lines
3.2 KiB
PHP
<?php
|
|
|
|
// Sports array to be populated with presets
|
|
$sportspress_sports = array();
|
|
|
|
$sportspress_texts = array(
|
|
'sp_team' => array(
|
|
'Enter title here' => __( 'Team', 'sportspress' ),
|
|
'Set featured image' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Logo', 'sportspress' ) ),
|
|
'Set Featured Image' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Logo', 'sportspress' ) ),
|
|
'Parent' => sprintf( __( 'Parent %s', 'sportspress' ), __( 'Team', 'sportspress' ) ),
|
|
'Remove featured image' => sprintf( __( 'Remove %s', 'sportspress' ), __( 'Logo', 'sportspress' ) )
|
|
),
|
|
'sp_event' => array(
|
|
'Enter title here' => __( '(no title)', 'sportspress' ),
|
|
'Scheduled for: <b>%1$s</b>' => __( 'Kick-off', 'sportspress' ) . ': <b>%1$s</b>',
|
|
'Published on: <b>%1$s</b>' => __( 'Kick-off', 'sportspress' ) . ': <b>%1$s</b>',
|
|
'Publish <b>immediately</b>' => __( 'Kick-off', 'sportspress' ) . ': <b>%1$s</b>'
|
|
),
|
|
'sp_player' => array(
|
|
'Enter title here' => __( 'Name', 'sportspress' ),
|
|
'Set featured image' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Photo', 'sportspress' ) ),
|
|
'Set Featured Image' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Photo', 'sportspress' ) ),
|
|
'Remove featured image' => sprintf( __( 'Remove %s', 'sportspress' ), __( 'Photo', 'sportspress' ) ),
|
|
'Scheduled for: <b>%1$s</b>' => __( 'Joined', 'sportspress' ) . ': <b>%1$s</b>',
|
|
'Published on: <b>%1$s</b>' => __( 'Joined', 'sportspress' ) . ': <b>%1$s</b>',
|
|
'Publish <b>immediately</b>' => __( 'Joined', 'sportspress' ) . ': <b>%1$s</b>'
|
|
),
|
|
'sp_staff' => array(
|
|
'Enter title here' => __( 'Name', 'sportspress' ),
|
|
'Set featured image' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Photo', 'sportspress' ) ),
|
|
'Set Featured Image' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Photo', 'sportspress' ) ),
|
|
'Remove featured image' => sprintf( __( 'Remove %s', 'sportspress' ), __( 'Photo', 'sportspress' ) ),
|
|
'Scheduled for: <b>%1$s</b>' => __( 'Joined', 'sportspress' ) . ': <b>%1$s</b>',
|
|
'Published on: <b>%1$s</b>' => __( 'Joined', 'sportspress' ) . ': <b>%1$s</b>',
|
|
'Publish <b>immediately</b>' => __( 'Joined', 'sportspress' ) . ': <b>%1$s</b>'
|
|
),
|
|
'sp_table' => array(
|
|
'Enter title here' => '',
|
|
'Post updated. <a href=\"%s\">View post</a>' => 'test'
|
|
)
|
|
);
|
|
|
|
$sportspress_thumbnail_texts = array(
|
|
'sp_team' => array(
|
|
'Set featured image' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Logo', 'sportspress' ) ),
|
|
'Remove featured image' => sprintf( __( 'Remove %s', 'sportspress' ), __( 'Logo', 'sportspress' ) )
|
|
),
|
|
'sp_player' => array(
|
|
'Set featured image' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Photo', 'sportspress' ) ),
|
|
'Remove featured image' => sprintf( __( 'Remove %s', 'sportspress' ), __( 'Photo', 'sportspress' ) )
|
|
),
|
|
'sp_staff' => array(
|
|
'Set featured image' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Photo', 'sportspress' ) ),
|
|
'Remove featured image' => sprintf( __( 'Remove %s', 'sportspress' ), __( 'Photo', 'sportspress' ) )
|
|
)
|
|
);
|
|
|
|
$sportspress_config_formats = array(
|
|
'integer' => __( 'Integer', 'sportspress' ),
|
|
'decimal' => __( 'Decimal', 'sportspress' ),
|
|
'time' => __( 'Time', 'sportspress' ),
|
|
'custom' => __( 'Custom Field', 'sportspress' ),
|
|
);
|
|
?>
|