HEX
Server: Apache/2.4.57 (Debian)
System: Linux web-server-k8s-e92jnr3j-6f99bff6b6-rp2wg 6.1.0-22-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) x86_64
User: apache (48)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/sites/1250.info/wp-content/themes/savoy/woocommerce/content-product_nm_taxonomy_header.php
<?php
/**
 *	NM: Shop - Taxonomy banner/header
 */

defined( 'ABSPATH' ) || exit;

global $nm_theme_options;

// Product taxonomy image
$header_image_id    = apply_filters( 'nm_taxonomy_header_image_id', get_term_meta( get_queried_object_id(), 'thumbnail_id', true ) );
$header_image_url   = wp_get_attachment_url( $header_image_id );
$header_image_class = $header_image_style_attr_escaped = '';
if ( $header_image_url ) {
    $header_image_class = ' has-image';
    $header_image_style_attr_escaped = ' style="background-image: url(' . esc_url( $header_image_url ) . ');"';
}

$header_text_column_class = apply_filters( 'nm_category_header_column_class', 'col-xs-12 col-' . $nm_theme_options['shop_taxonomy_header_text_alignment'] );
?>
<div id="nm-shop-taxonomy-header" class="nm-shop-taxonomy-header<?php echo esc_attr( $header_image_class ); ?>">
    <div class="nm-shop-taxonomy-header-inner"<?php echo $header_image_style_attr_escaped; ?>>
        <div class="nm-shop-taxonomy-text align-<?php echo esc_attr( $nm_theme_options['shop_taxonomy_header_text_alignment'] ); ?>">
            <div class="nm-row">
                <div class="nm-shop-taxonomy-text-col <?php echo esc_attr( $header_text_column_class ); ?>">
                    <h1><?php woocommerce_page_title(); ?></h1>
                    <?php
                        /**
                         * woocommerce_archive_description hook
                         *
                         * @hooked woocommerce_taxonomy_archive_description - 10
                         * @hooked woocommerce_product_archive_description - 10
                         */
                        do_action( 'woocommerce_archive_description' );
                    ?>
                </div>
            </div>
        </div>
    </div>
</div>