<?php if ( true === apply_filters( 'lsvr_beautyspot_page_header_enable', true ) ) : ?>
<?php // Add custom code before page header
do_action( 'lsvr_beautyspot_page_header_before' ); ?>
<!-- PAGE HEADER : begin -->
<div <?php lsvr_beautyspot_the_page_header_class(); ?>>
<div class="page-header__inner">
<div class="lsvr-container">
<div class="page-header__content">
<?php // Add custom code at the top of the page header
do_action( 'lsvr_beautyspot_page_header_top' ); ?>
<?php // Title
if ( ! empty( apply_filters( 'lsvr_beautyspot_page_header_title', get_the_title() ) ) ) : ?>
<h1 class="page-header__title">
<?php echo wp_kses( apply_filters( 'lsvr_beautyspot_page_header_title', get_the_title() ), array(
'a' => array(
'href' => array(),
),
'br' => array(),
'em' => array(),
'strong' => array(),
) ); ?>
</h1>
<?php endif; ?>
<?php // Add custom code after the page header title
do_action( 'lsvr_beautyspot_page_header_title_after' ); ?>
<?php // Subtitle
if ( ! empty( apply_filters( 'lsvr_beautyspot_page_header_subtitle', '' ) ) ) : ?>
<h3 class="page-header__subtitle">
<?php echo esc_html( apply_filters( 'lsvr_beautyspot_page_header_subtitle', '' ) ); ?>
</h3>
<?php endif; ?>
<?php // Add custom code before breadcrumbs
do_action( 'lsvr_beautyspot_breadcrumbs_before' ); ?>
<?php // Breadcrumbs
get_template_part( 'template-parts/breadcrumbs' ); ?>
<?php // Add custom code at the bottom of the page header
do_action( 'lsvr_beautyspot_page_header_bottom' ); ?>
</div>
</div>
</div>
</div>
<!-- PAGE HEADER : end -->
<?php // Add custom code after page header
do_action( 'lsvr_beautyspot_page_header_after' ); ?>
<?php endif; ?> |