浏览代码

Merge pull request #1709 from zzap/patch-1

Add ‘wp_body_open’ hook.
Michael Cain 5 年之前
父节点
当前提交
19b00669a4
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      varia/header.php

+ 7 - 0
varia/header.php

@@ -20,6 +20,13 @@
 </head>
 
 <body <?php body_class(); ?>>
+
+<?php
+	if ( function_exists( 'wp_body_open' ) ) {
+		wp_body_open();
+	}
+?>
+	
 <div id="page" class="site">
 	<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'varia' ); ?></a>