$add_bg = false; if (is_array($background) && $background['url'] != '') { $add_bg = true; } ?> <!-- Title Wrapper Section --> <section class="page-section pt-sm-110 pb-sm-90 <?php echo sanitize_html_classes($style_class); ?> " <?php echo true === $add_bg ? 'style="background-image: url(' . esc_url($background['url']) . ');"' : ''; ?> > <div class="relative container align-center"> <?php rhythm_breadcrumbs('align-center'); ?> <?php $subtitle = rhythm_get_subtitle(); if (!empty($subtitle)) { ?> <h1 class="hs-line-11 font-alt mb-0 <?php echo sanitize_html_classes($subtitle_class); ?> "> <?php echo wp_kses_data($subtitle); ?> </h1> <?php }
<?php $subtitle = rhythm_get_subtitle(); if (!empty($subtitle)) { ?> <div class="hs-line-4 font-alt <?php echo sanitize_html_classes($subtitle_class); ?> "> <?php echo wp_kses_data($subtitle); ?> </div> <?php } ?> </div> <div class="col-md-4 mt-30"> <?php rhythm_breadcrumbs(); ?> </div> </div> <?php echo $after_row; ?> </div> </section> <!-- End Title Wrapper Section --> <?php } get_template_part('templates/title/parts/search');