Permalink
Browse files

Update notice.

  • Loading branch information...
devinsays committed May 5, 2012
1 parent 4eb59a3 commit df257318ec215016cc2925ff7d5b3576a06e4bde
Showing with 5 additions and 2 deletions.
  1. +5 −2 functions.php
View
@@ -17,8 +17,11 @@
*/
function options_framework_theme_notice(){
- echo '<div class="updated">
+ global $pagenow;
+ if ( $pagenow == 'themes.php' ) {
+ echo '<div class="updated">
<p>Options Framework Theme is under development at the moment. Get a stable <a href="https://github.com/devinsays/options-framework-theme/tags">version here</a>.</p>
- </div>';
+ </div>';
+ }
}
add_action('admin_notices', 'options_framework_theme_notice');

0 comments on commit df25731

Please sign in to comment.