Browse Source

去google字体

liuyuqi-dellpc 5 years ago
parent
commit
69f915daf0
4 changed files with 3 additions and 4 deletions
  1. 1 1
      assets/css/pen-general.css
  2. 1 1
      functions.php
  3. 0 1
      header.php
  4. 1 1
      include/customize.php

+ 1 - 1
assets/css/pen-general.css

@@ -8,7 +8,7 @@
 body {
 	background: #333333;
 	color: #fff;
-	font-family: Arial, Helvetica, Sans-serif;
+	font-family: -apple-system-font,BlinkMacSystemFont,"Helvetica Neue","PingFang SC","Hiragino Sans GB","Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif;
 }
 a {
 	text-decoration: none;

+ 1 - 1
functions.php

@@ -12,7 +12,7 @@ require_once $template_directory . '/include/color.php';
 require_once $template_directory . '/include/general.php';
 require_once $template_directory . '/include/compress.php';
 require_once $template_directory . '/include/sanitize.php';
-require_once $template_directory . '/include/typography.php';
+// require_once $template_directory . '/include/typography.php';
 require_once $template_directory . '/include/html.php';
 require_once $template_directory . '/include/configure.php';
 require_once $template_directory . '/include/assets.php';

+ 0 - 1
header.php

@@ -26,7 +26,6 @@ wp_head();
 <?php
 if ( ! is_customize_preview() ) {
 	pen_html_jump_menu( 'color_schemes' );
-	pen_html_jump_menu( 'font_presets' );
 }
 ?>
 				<a class="screen-reader-shortcut screen-reader-text" href="#content">

+ 1 - 1
include/customize.php

@@ -3913,7 +3913,7 @@ if ( ! function_exists( 'pen_customize_register' ) ) {
 
 		pen_customize_contact( $wp_customize );
 		pen_customize_color( $wp_customize );
-		pen_customize_typography( $wp_customize );
+		// pen_customize_typography( $wp_customize );
 		pen_customize_header( $wp_customize );
 		pen_customize_content_list( $wp_customize );
 		pen_customize_content_full( $wp_customize );