first commit
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/**
|
||||
* The template part for selected title (breadcrubms) section
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly
|
||||
}
|
||||
|
||||
$background_image = function_exists( 'fw_get_db_customizer_option' ) ? fw_get_db_customizer_option( 'breadcrumbs_background_image' ) : '';
|
||||
?>
|
||||
<section class="page_breadcrumbs ds background_cover section_padding_top_30 section_padding_bottom_25" <?php echo !empty( $background_image ) ? 'style="background-image: url(' . esc_url( $background_image['url'] ) . ')"' : ''; ?>>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 text-center">
|
||||
<?php if ( !is_single() ) : ?>
|
||||
<h2>
|
||||
<?php
|
||||
get_template_part( 'template-parts/breadcrumbs/page-title-text' );
|
||||
?>
|
||||
</h2>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
if ( function_exists( 'woocommerce_breadcrumb123' ) ) {
|
||||
woocommerce_breadcrumb( array(
|
||||
'delimiter' => '',
|
||||
'wrap_before' => '<nav class="woocommerce-breadcrumb" ' . ( is_single() ? 'itemprop="breadcrumb"' : '' ) . '><ol class="breadcrumb big-spacing darklinks">',
|
||||
'wrap_after' => '</ol></nav>',
|
||||
'before' => '<li>',
|
||||
'after' => '</li>',
|
||||
'home' => esc_html_x( 'Home', 'breadcrumb', 'solarify' )
|
||||
) );
|
||||
} elseif ( function_exists( 'fw_ext_breadcrumbs' ) ) {
|
||||
fw_ext_breadcrumbs();
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user