PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
themes
/
wpnull24
/
framework
/
templates
/
elements
<?php defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' ); /** * Shortcode: us_breadcrumbs * * Dev note: if you want to change some of the default values or acceptable attributes, overload the shortcodes config. * * @var $shortcode string Current shortcode name * @var $shortcode_base string The original called shortcode name (differs if called an alias) * @var $content string Shortcode's inner content * * @param $home string Homepage Label * @param $font_size string Font Size * @param $align string Alignment * @param $separator_type string Separator Type: 'icon' / 'custom' * @param $separator_icon string Separator Icon * @param $separator_symbol string Separator Symbol * @param $show_current bool Show current page? * @param $el_class string Extra class name */ // Don't show the element on the homepage if ( is_home() OR is_front_page() ) { return; } $classes = ''; $classes .= ' separator_' . $separator_type; $classes .= ' align_' . $align; if ( ! $show_current ) { $classes .= ' hide_current'; } if ( ! empty( $css ) AND function_exists( 'vc_shortcode_custom_css_class' ) ) { $classes .= ' ' . vc_shortcode_custom_css_class( $css ); } $classes .= ( ! empty( $el_class ) ) ? ( ' ' . $el_class ) : ''; $el_id = ( ! empty( $el_id ) ) ? ( ' id="' . esc_attr( $el_id ) . '"' ) : ''; // Generate inline styles $inline_css = us_prepare_inline_css( array( 'font-size' => $font_size, ) ); // Generate separator between crumbs $delimiter = ''; if ( $separator_type == 'icon' ) { $delimiter = us_prepare_icon_tag( $separator_icon ); } elseif ( $separator_type == 'custom' ) { $delimiter = strip_tags( $separator_symbol ); } if ( $delimiter != '' ) { $delimiter = '<li class="g-breadcrumbs-separator">' . $delimiter . '</li>'; } // Generate microdata markup $microdata_list = $microdata_item = $link_attr = $name_attr = $position_attr = ''; if ( us_get_option( 'schema_markup' ) ) { $microdata_list = ' itemscope itemtype="http://schema.org/BreadcrumbList"'; $microdata_item = ' itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"'; $link_attr = ' itemprop="item"'; $name_attr = ' itemprop="name"'; $position_attr = ' itemprop="position"'; } if ( function_exists( 'woocommerce_breadcrumb' ) AND is_woocommerce() ) { // Remove markup from WooCommerce Breadcrumbs $microdata_list = $microdata_item = ''; } // Homepage Label $home = strip_tags( $home ); // The breadcrumb’s container starting code $list_before = '<ol class="g-breadcrumbs' . $classes . '"' . $el_id . $inline_css . $microdata_list . '>'; // The breadcrumb’s container ending code $list_after = '</ol>'; // Code before single crumb $item_before = '<li class="g-breadcrumbs-item"' . $microdata_item . '>'; // Code after single crumb $item_after = '</li>'; // Return default WooCommerce breadcrumbs if ( function_exists( 'woocommerce_breadcrumb' ) AND is_woocommerce() ) { return woocommerce_breadcrumb( array( 'wrap_before' => $list_before, 'wrap_after' => $list_after, 'delimiter' => $delimiter, 'before' => $item_before, 'after' => $item_after, 'home' => $home, ) ); // Return default bbPress breadcrumbs } elseif ( function_exists( 'bbp_get_breadcrumb' ) AND is_singular( array( 'topic', 'forum', 'reply' ) ) ) { echo bbp_get_breadcrumb( array( 'before' => $list_before, 'after' => $list_after, 'sep' => $delimiter, 'crumb_before' => $item_before, 'crumb_after' => $item_after, ) ); // Output theme breadcrumbs } else { $us_breadcrumbs = new US_Breadcrumbs( $delimiter, $home, $item_before, $item_after, $link_attr, $name_attr, $position_attr ); echo $list_before . $us_breadcrumbs->render() . $list_after; }
[+]
..
[-] person.php
[edit]
[-] separator.php
[edit]
[-] post_custom_field.php
[edit]
[-] post_image.php
[edit]
[-] page_block.php
[edit]
[-] image_slider.php
[edit]
[-] cform.php
[edit]
[-] progbar.php
[edit]
[-] btn.php
[edit]
[-] product_field.php
[edit]
[-] socials.php
[edit]
[-] cta.php
[edit]
[-] message.php
[edit]
[-] vc_wp_custommenu.php
[edit]
[-] contacts.php
[edit]
[-] post_taxonomy.php
[edit]
[-] flipbox.php
[edit]
[-] grid.php
[edit]
[-] post_comments.php
[edit]
[-] gallery.php
[edit]
[-] sharing.php
[edit]
[-] post_date.php
[edit]
[-] product_ordering.php
[edit]
[-] post_navigation.php
[edit]
[-] add_to_cart.php
[edit]
[-] product_gallery.php
[edit]
[-] gmaps.php
[edit]
[-] vc_tta_tabs.php
[edit]
[-] breadcrumbs.php
[edit]
[-] page_title.php
[edit]
[-] counter.php
[edit]
[-] vc_video.php
[edit]
[-] cart.php
[edit]
[-] post_content.php
[edit]
[-] image.php
[edit]
[-] vc_row_inner.php
[edit]
[-] dropdown.php
[edit]
[-] iconbox.php
[edit]
[-] vc_column.php
[edit]
[-] post_title.php
[edit]
[-] hwrapper.php
[edit]
[-] .elements.php
[edit]
[-] vc_column_text.php
[edit]
[-] additional_menu.php
[edit]
[-] vc_tta_section.php
[edit]
[-] popup.php
[edit]
[-] scroller.php
[edit]
[-] menu.php
[edit]
[-] pricing.php
[edit]
[-] search.php
[edit]
[-] text.php
[edit]
[-] post_author.php
[edit]
[-] vc_row.php
[edit]
[-] itext.php
[edit]
[-] html.php
[edit]