| Server IP : 94.177.215.211 / Your IP : 216.73.216.172 Web Server : nginx/1.26.0 System : Linux mtncompany-wp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : root ( 0) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source,eval MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/sites/morsiesorsi/wp-content/themes/woodmart/woocommerce/global/ |
Upload File : |
<?php
/**
* Shop breadcrumb
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.3.0
* @see woocommerce_breadcrumb()
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
$delimiter = '<span class="wd-delimiter"></span>';
if ( ! empty( $breadcrumb ) ) {
$count = count( $breadcrumb );
$i = 0;
echo wp_kses_post( $wrap_before );
foreach ( $breadcrumb as $key => $crumb ) {
$attr = '';
$i++;
if ( $i === $count - 1 ) {
$attr = ' class="wd-last-link"';
}
echo wp_kses_post( $before );
if ( ! empty( $crumb[1] ) && count( $breadcrumb ) !== $key + 1 ) :
?>
<a href="<?php echo esc_url( $crumb[1] ); ?>"<?php echo wp_kses( $attr, true ); ?>>
<?php echo esc_html( $crumb[0] ); ?>
</a>
<?php
else :
?>
<span class="wd-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 );
}