Uname: Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.213.251.212
Your Ip: 3.138.126.79
User: allssztx (535) | Group: allssztx (533)
Safe Mode: OFF
Disable Function:
NONE

name : breadcrumb.php
<?php
/**
 * Shop breadcrumb
 *
 * @author WooThemes
 * @package WooCommerce/Templates
 * @version 2.3.0
 * @see woocommerce_breadcrumb()
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$delimiter = '';

if ( ! empty( $breadcrumb ) ) {
	$count = count( $breadcrumb );
	$class = '';
	$i     = 0;

	echo wp_kses_post( $wrap_before );

	foreach ( $breadcrumb as $key => $crumb ) {
		$i++;

		if ( $i === $count - 1 ) {
			$class = ' breadcrumb-link-last';
		}

		echo wp_kses_post( $before );

		if ( ! empty( $crumb[1] ) && count( $breadcrumb ) !== $key + 1 ) :
			?>
				<a href="<?php echo esc_url( $crumb[1] ); ?>" class="breadcrumb-link<?php echo esc_attr( $class ); ?>">
					<?php echo esc_html( $crumb[0] ); ?>
				</a>
			<?php
		else :
			?>
				<span class="breadcrumb-last">
					<?php echo esc_html( $crumb[0] ); ?>
				</span>
			<?php
		endif;

		echo wp_kses_post( $after );

		if ( count( $breadcrumb ) !== $key + 1 ) {
			echo wp_kses_post( $delimiter );
		}
	}

	echo wp_kses_post( $wrap_after );
}
© 2025 GrazzMean-Shell