From df257318ec215016cc2925ff7d5b3576a06e4bde Mon Sep 17 00:00:00 2001 From: Devin Price Date: Sat, 5 May 2012 14:26:50 -0500 Subject: [PATCH] Update notice. --- functions.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 7b79fda..f54043b 100755 --- a/functions.php +++ b/functions.php @@ -17,8 +17,11 @@ */ function options_framework_theme_notice(){ - echo '
+ global $pagenow; + if ( $pagenow == 'themes.php' ) { + echo '

Options Framework Theme is under development at the moment. Get a stable version here.

-
'; +
'; + } } add_action('admin_notices', 'options_framework_theme_notice'); \ No newline at end of file