From 1e2894e7f30aec4fa654674db8336a97c70223b9 Mon Sep 17 00:00:00 2001 From: Takumi Date: Sun, 28 Jul 2013 02:55:58 +1000 Subject: [PATCH] Add title generator --- event.php | 2 +- globals.php | 1 + scripts.php | 3 ++- settings.php | 10 +++++++++- sportspress-admin.js | 16 +++++++++++++--- 5 files changed, 26 insertions(+), 6 deletions(-) diff --git a/event.php b/event.php index b1ae0679..54ef6157 100644 --- a/event.php +++ b/event.php @@ -40,7 +40,7 @@ function sp_event_team_meta( $post ) { for ( $i = 0; $i < $limit; $i++ ): ?>
-

+

'sp_team', diff --git a/globals.php b/globals.php index 74ba97c4..f88f755f 100644 --- a/globals.php +++ b/globals.php @@ -14,6 +14,7 @@ $sportspress_texts = array( 'Remove featured image' => sprintf( __( 'Remove %s', 'sportspress' ), __( 'Logo', 'sportspress' ) ) ), 'sp_event' => array( + 'Enter title here' => '', 'Scheduled for: %1$s' => __( 'Kick-off', 'sportspress' ) . ': %1$s', 'Published on: %1$s' => __( 'Kick-off', 'sportspress' ) . ': %1$s', 'Publish immediately' => __( 'Kick-off', 'sportspress' ) . ': %1$s' diff --git a/scripts.php b/scripts.php index 2fd0e6fa..b7869b63 100644 --- a/scripts.php +++ b/scripts.php @@ -1,6 +1,7 @@ \ No newline at end of file diff --git a/settings.php b/settings.php index c92520a6..87ea15e9 100644 --- a/settings.php +++ b/settings.php @@ -12,7 +12,15 @@ function sp_settings_menu() { add_action('admin_menu', 'sp_settings_menu'); function sp_settings_page() { - echo ''; + ?> +

+ +
+