Merge pull request #2764 from Automattic/fix/1722-body-open-header
Add ‘wp_body_open’ hook to Varia Child themes
This commit is contained in:
commit
2e234b79a6
8 changed files with 56 additions and 0 deletions
|
@ -20,6 +20,13 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body <?php body_class(); ?>>
|
<body <?php body_class(); ?>>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
if ( function_exists( 'wp_body_open' ) ) {
|
||||||
|
wp_body_open();
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
<div id="page" class="site">
|
<div id="page" class="site">
|
||||||
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'balasana' ); ?></a>
|
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'balasana' ); ?></a>
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,13 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body <?php body_class(); ?>>
|
<body <?php body_class(); ?>>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
if ( function_exists( 'wp_body_open' ) ) {
|
||||||
|
wp_body_open();
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
<div id="page" class="site">
|
<div id="page" class="site">
|
||||||
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'varia' ); ?></a>
|
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'varia' ); ?></a>
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,13 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body <?php body_class(); ?>>
|
<body <?php body_class(); ?>>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
if ( function_exists( 'wp_body_open' ) ) {
|
||||||
|
wp_body_open();
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
<div id="page" class="site">
|
<div id="page" class="site">
|
||||||
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'varia' ); ?></a>
|
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'varia' ); ?></a>
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,13 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body <?php body_class(); ?>>
|
<body <?php body_class(); ?>>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
if ( function_exists( 'wp_body_open' ) ) {
|
||||||
|
wp_body_open();
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
<div id="page" class="site">
|
<div id="page" class="site">
|
||||||
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'varia' ); ?></a>
|
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'varia' ); ?></a>
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,13 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body <?php body_class(); ?>>
|
<body <?php body_class(); ?>>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
if ( function_exists( 'wp_body_open' ) ) {
|
||||||
|
wp_body_open();
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
<div id="page" class="site">
|
<div id="page" class="site">
|
||||||
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'rivington' ); ?></a>
|
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'rivington' ); ?></a>
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,13 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body <?php body_class(); ?>>
|
<body <?php body_class(); ?>>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
if ( function_exists( 'wp_body_open' ) ) {
|
||||||
|
wp_body_open();
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
<div id="page" class="site">
|
<div id="page" class="site">
|
||||||
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'rockfield' ); ?></a>
|
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'rockfield' ); ?></a>
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,13 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body <?php body_class(); ?>>
|
<body <?php body_class(); ?>>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
if ( function_exists( 'wp_body_open' ) ) {
|
||||||
|
wp_body_open();
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
<div id="page" class="site">
|
<div id="page" class="site">
|
||||||
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'varia' ); ?></a>
|
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'varia' ); ?></a>
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,13 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body <?php body_class(); ?>>
|
<body <?php body_class(); ?>>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
if ( function_exists( 'wp_body_open' ) ) {
|
||||||
|
wp_body_open();
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
<div id="page" class="site">
|
<div id="page" class="site">
|
||||||
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'varia' ); ?></a>
|
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'varia' ); ?></a>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue