Sindbad~EG File Manager

Current Path : /home/frekansk/.trash/wp-content/plugins/learnpress/templates/global/
Upload File :
Current File : /home/frekansk/.trash/wp-content/plugins/learnpress/templates/global/breadcrumb.php

<?php
/**
 * Template for displaying archive courses breadcrumb.
 *
 * This template can be overridden by copying it to yourtheme/learnpress/global/breadcrumb.php.
 *
 * @author   ThimPress
 * @package  Learnpress/Templates
 * @version  3.0.0
 */

defined( 'ABSPATH' ) || exit();

if ( empty( $breadcrumb ) ) {
	return;
}
echo $wrap_before;

foreach ( $breadcrumb as $key => $crumb ) {

	echo $before;

	echo '<li>';

	if ( ! empty( $crumb[1] ) && sizeof( $breadcrumb ) !== $key + 1 ) {
		echo '<a href="' . esc_url( $crumb[1] ) . '"><span>' . esc_html( $crumb[0] ) . '</span></a>';
	} else {
		echo '<span>' . esc_html( $crumb[0] ) . '</span>';
	}

	echo '</li>';

	echo $after;

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

echo $wrap_after;

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists