Add ‘wp_body_open’ hook to Varia Child themes
RE: #1722 all themes should have the wp_body_open() call made immediately after the body is opened. https://make.wordpress.org/themes/2019/03/29/addition-of-new-wp_body_open-hook This change adds that support to all of the Varia child themes that have a custom header. (Varia parent theme had already been enhanced.)
This commit is contained in:
parent
cd9f352b1a
commit
e7bc0b3bab
8 changed files with 56 additions and 0 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue