Bladeren bron

Merge pull request #2764 from Automattic/fix/1722-body-open-header

Add ‘wp_body_open’ hook to Varia Child themes
Ben Dwyer 4 jaren geleden
bovenliggende
commit
2e234b79a6
8 gewijzigde bestanden met toevoegingen van 56 en 0 verwijderingen
  1. 7 0
      balasana/header.php
  2. 7 0
      coutoire/header.php
  3. 7 0
      dalston/header.php
  4. 7 0
      morden/header.php
  5. 7 0
      rivington/header.php
  6. 7 0
      rockfield/header.php
  7. 7 0
      stow/header.php
  8. 7 0
      stratford/header.php

+ 7 - 0
balasana/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', 'balasana' ); ?></a>
 

+ 7 - 0
coutoire/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>
 

+ 7 - 0
dalston/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>
 

+ 7 - 0
morden/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>
 

+ 7 - 0
rivington/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', 'rivington' ); ?></a>
 

+ 7 - 0
rockfield/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', 'rockfield' ); ?></a>
 

+ 7 - 0
stow/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>
 

+ 7 - 0
stratford/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>