fixing some more PHPCBF issues
This commit is contained in:
parent
c8743002be
commit
6bd57dd4ca
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php if ( is_active_sidebar('hero') or is_active_sidebar('statichero')) : ?>
|
<?php if ( is_active_sidebar( 'hero' ) or is_active_sidebar( 'statichero' ) ) : ?>
|
||||||
|
|
||||||
<div class="wrapper" id="wrapper-hero">
|
<div class="wrapper" id="wrapper-hero">
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,12 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Left sidebar check.
|
||||||
|
*
|
||||||
|
* @package understrap
|
||||||
|
*/
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
|
$sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
|
||||||
// On WooCommerce pages there is no need for sidebars as they leave
|
// On WooCommerce pages there is no need for sidebars as they leave
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* Custom header setup.
|
||||||
|
*
|
||||||
|
* @package understrap
|
||||||
|
*/
|
||||||
|
|
||||||
function understrap_custom_header_setup() {
|
function understrap_custom_header_setup() {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -22,7 +28,7 @@ function understrap_custom_header_setup() {
|
||||||
'default-image' => get_parent_theme_file_uri( '/img/header.jpg' ),
|
'default-image' => get_parent_theme_file_uri( '/img/header.jpg' ),
|
||||||
'width' => 2000,
|
'width' => 2000,
|
||||||
'height' => 1200,
|
'height' => 1200,
|
||||||
'flex-height' => true
|
'flex-height' => true,
|
||||||
) ) );
|
) ) );
|
||||||
|
|
||||||
register_default_headers( array(
|
register_default_headers( array(
|
||||||
|
|
Reference in New Issue