diff --git a/footer.php b/footer.php index 07f4f25..d3ce35d 100644 --- a/footer.php +++ b/footer.php @@ -55,9 +55,6 @@ ?>
' . kratos_option('s_icp') . ''; - } if (kratos_option('g_performance')) { echo ''. sprintf( '请求次数:%d 次,加载用时:%.3f 秒,内存占用:%.2f MB', get_num_queries(), timer_stop(), memory_get_peak_usage() / 1024 / 1024 ) . '
'; } diff --git a/inc/theme-options.php b/inc/theme-options.php index c0e1259..041cb44 100644 --- a/inc/theme-options.php +++ b/inc/theme-options.php @@ -45,8 +45,11 @@ CSF::createOptions($prefix, array( 'menu_title' => __('主题设置', 'kratos'), 'menu_slug' => 'kratos-options', 'show_search' => false, + 'show_bar_menu' => false, 'show_all_options' => false, 'sticky_header' => false, + 'enqueue_webfont' => false, + 'async_webfont' => true, 'admin_bar_menu_icon' => 'dashicons-admin-generic', 'framework_title' => '主题设置Kratos Pjax Edition v' . THEME_VERSION . '', 'theme' => 'light',