MOON
Server: Apache
System: Linux server30c.hostingraja.org 3.10.0-962.3.2.lve1.5.63.el7.x86_64 #1 SMP Fri Oct 8 12:03:35 UTC 2021 x86_64
User: jibhires (1887)
PHP: 8.1.30
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open, allow_url_fopen, symlink, escapeshellcmd, pcntl_exec
Upload Files
File: //usr/local/sitepad/editor/site-data/plugins/documentor/templates/single/content-breadcrumbs.php
<?php
/**
 * Single docs content breadcrumbs template
 *
 * This template can be overridden by copying it to yourtheme/documentor/single/content-breadcrumbs.php.
 *
 * @author  softaculous
 * @package documentor/Templates
 * @version 1.0.0
 */

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

// phpcs:ignore
$breadcrumbs = documentor()->get_breadcrumbs_array();
?>

<ul class="documentor-single-breadcrumbs" itemscope itemtype="http://schema.org/BreadcrumbList">
<a class="documentor-sidebar-toggler"><i class="fas fa-bars"></i></a>
    <?php foreach ( $breadcrumbs as $k => $crumb ) : // phpcs:ignore ?>
        <?php if ( $k > 0 ) : ?>
            <li class="delimiter"> / </li>
        <?php endif; ?>
        <li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
            <a itemprop="item" href="<?php echo esc_url( $crumb['url'] ); ?>"><span itemprop="name"><?php echo esc_html( $crumb['label'] ); ?></span></a>
            <meta itemprop="position" content="<?php echo esc_attr( $k + 1 ); ?>" />
        </li>
    <?php endforeach; ?>
</ul>