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>
|
||||
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/**
|
||||
* The template part for selected title (breadcrubms) section
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly
|
||||
}
|
||||
|
||||
?>
|
||||
<section class="page_breadcrumbs cs section_padding_50 gradient table_section table_section_md">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-6 text-center text-md-left">
|
||||
<h2 class="small">
|
||||
<?php
|
||||
get_template_part( 'template-parts/breadcrumbs/page-title-text' );
|
||||
?>
|
||||
</h2>
|
||||
</div>
|
||||
<div class="col-md-6 text-center text-md-right">
|
||||
<?php
|
||||
if ( function_exists( 'fw_ext_breadcrumbs' ) ) {
|
||||
fw_ext_breadcrumbs();
|
||||
}
|
||||
?>
|
||||
</div><!-- eof .col-* -->
|
||||
</div><!-- eof .row -->
|
||||
</div><!-- eof .container -->
|
||||
</section><!-- eof .page_breadcrumbs -->
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* The template part for selected title (breadcrubms) section
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly
|
||||
}
|
||||
|
||||
?>
|
||||
<section class="page_breadcrumbs cs section_padding_top_25 section_padding_bottom_25 gradient">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 text-center">
|
||||
<h2 class="grey">
|
||||
<?php
|
||||
get_template_part( 'template-parts/breadcrumbs/page-title-text' );
|
||||
?>
|
||||
</h2>
|
||||
<?php
|
||||
if ( function_exists( 'fw_ext_breadcrumbs' ) ) {
|
||||
fw_ext_breadcrumbs();
|
||||
}
|
||||
?>
|
||||
</div><!-- eof .col-* -->
|
||||
</div><!-- eof .row -->
|
||||
</div><!-- eof .container -->
|
||||
</section><!-- eof .page_breadcrumbs -->
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* The template part for selected title (breadcrubms) section
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly
|
||||
}
|
||||
|
||||
?>
|
||||
<section class="page_breadcrumbs ds section_padding_top_25 section_padding_bottom_25">
|
||||
<div class="container">
|
||||
<div class="col-sm-12 text-center text-md-left display_table_md">
|
||||
<h2 class="small display_table_cell_md">
|
||||
<?php
|
||||
get_template_part( 'template-parts/breadcrumbs/page-title-text' );
|
||||
?>
|
||||
</h2>
|
||||
<?php if ( function_exists( 'fw_ext_breadcrumbs' ) ) { ?>
|
||||
<div class="display_table_cell_md breadcrumb">
|
||||
<?php fw_ext_breadcrumbs(); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div><!-- eof .col-* .display_table_md -->
|
||||
</div><!-- eof .container -->
|
||||
</section><!-- eof .page_breadcrumbs -->
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* The template part for selected title (breadcrubms) section
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly
|
||||
}
|
||||
|
||||
?>
|
||||
<section class="page_breadcrumbs ls ms bg_image section_padding_top_25 section_padding_bottom_25">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 text-center">
|
||||
<h2>
|
||||
<?php
|
||||
get_template_part( 'template-parts/breadcrumbs/page-title-text' );
|
||||
?>
|
||||
</h2>
|
||||
</div><!-- eof .col-* -->
|
||||
</div><!-- eof .row -->
|
||||
<?php if ( function_exists( 'fw_ext_breadcrumbs' ) ) { ?>
|
||||
<div class="bottom_breadcrumbs greylinks">
|
||||
<?php fw_ext_breadcrumbs(); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div><!-- eof .container -->
|
||||
</section><!-- eof .page_breadcrumbs -->
|
||||
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying page title in page title section
|
||||
*
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly
|
||||
}
|
||||
|
||||
if ( is_search() ) :
|
||||
printf( esc_html__( 'Search Results for: %s', 'solarify' ), get_search_query() );
|
||||
return;
|
||||
endif;
|
||||
|
||||
if ( is_home() ) :
|
||||
$title = function_exists( 'fw_get_db_ext_settings_option' && function_exists( 'fw_ext_breadcrumbs' ) ) ? fw_get_db_ext_settings_option( 'breadcrumbs', 'blogpage-title' ) : esc_html__( 'Blog', 'solarify' );
|
||||
echo esc_html( $title );
|
||||
return;
|
||||
endif;
|
||||
|
||||
if ( is_404() ) :
|
||||
$title = function_exists( 'fw_get_db_ext_settings_option' && function_exists( 'fw_ext_breadcrumbs' ) ) ? fw_get_db_ext_settings_option( 'breadcrumbs', '404-title' ) : esc_html__( '404', 'solarify' );
|
||||
echo esc_html( $title );
|
||||
return;
|
||||
endif;
|
||||
|
||||
if ( is_singular() ) :
|
||||
single_post_title();
|
||||
return;
|
||||
endif;
|
||||
|
||||
if ( is_archive() ) :
|
||||
the_archive_title();
|
||||
return;
|
||||
endif;
|
||||
Reference in New Issue
Block a user