HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: /home/liverpool-unipress.co.uk/public_html/wp-content/themes/newsup/index-banner.php
<?php $newsup_background_image = get_theme_support( 'custom-header', 'default-image' );
if ( has_header_image() ) { $newsup_background_image = get_header_image(); } ?>
<div class="mg-breadcrumb-section" style='background: url("<?php echo esc_url( $newsup_background_image ); ?>" ) repeat scroll center 0 #143745;'>
  <?php $newsup_remove_header_image_overlay = get_theme_mods('remove_header_image_overlay',true);
  if($newsup_remove_header_image_overlay == true){ ?> <div class="overlay"> <?php } ?>
      <div class="container-fluid">
        <div class="row">
          <div class="col-md-12 col-sm-12">
            <div class="mg-breadcrumb-title">
              <?php
              if( class_exists( 'WooCommerce' )) {
               if(is_shop()) { ?>
                  <h1 class="title"><?php woocommerce_page_title();?></h1><?php
                } elseif(is_product_category() || is_product_tag()){ 
                  the_archive_title( '<h2 class="title">', '</h2>' );
                }elseif(is_archive()) {
                  the_archive_title( '<h1 class="title">', '</h1>' );
                  the_archive_description( '<div class="archive-description">', '</div>' );
                } else { ?>
                  <h1 class="title"><?php the_title(); ?></h1>
                <?php }
              } elseif(is_archive()) {
                the_archive_title( '<h1 class="title">', '</h1>' );
                the_archive_description( '<div class="archive-description">', '</div>' );
              } else { ?>
                <h1 class="title"><?php the_title(); ?></h1>
              <?php } ?>
            </div>
          </div>
        </div>
      </div>
  <?php if($newsup_remove_header_image_overlay == true){ ?> </div> <?php } ?>
</div>
<div class="clearfix"></div>