78 lines
2.1 KiB
PHP
78 lines
2.1 KiB
PHP
|
<section class="breadcrumb fabify">
|
||
|
<div class="background-overlay">
|
||
|
<div class="container">
|
||
|
<div class="row padding-top-60 padding-bottom-30">
|
||
|
<div class="col-md-6 col-xs-12 col-sm-6">
|
||
|
<div style="display: none;">
|
||
|
<h2>
|
||
|
<?php
|
||
|
if ( is_day() ) :
|
||
|
|
||
|
printf( __( 'Daily Archives: %s', 'fabify' ), get_the_date() );
|
||
|
|
||
|
elseif ( is_month() ) :
|
||
|
|
||
|
printf( __( 'Monthly Archives: %s', 'fabify' ), (get_the_date( 'F Y' ) ));
|
||
|
|
||
|
elseif ( is_year() ) :
|
||
|
|
||
|
printf( __( 'Yearly Archives: %s', 'fabify' ), (get_the_date( 'Y' ) ) );
|
||
|
|
||
|
elseif ( is_category() ) :
|
||
|
|
||
|
printf( __( 'Category Archives: %s', 'fabify' ), (single_cat_title( '', false ) ));
|
||
|
|
||
|
elseif ( is_tag() ) :
|
||
|
|
||
|
printf( __( 'Tag Archives: %s', 'fabify' ), (single_tag_title( '', false ) ));
|
||
|
|
||
|
elseif ( is_404() ) :
|
||
|
|
||
|
printf( __( 'Error 404', 'fabify' ));
|
||
|
|
||
|
elseif ( is_author() ) :
|
||
|
|
||
|
printf( __( 'Author: %s', 'fabify' ), (get_the_author( '', false ) ));
|
||
|
|
||
|
elseif ( class_exists( 'WooCommerce' ) ) :
|
||
|
|
||
|
if ( is_shop() ) {
|
||
|
woocommerce_page_title();
|
||
|
}
|
||
|
|
||
|
elseif ( is_cart() ) {
|
||
|
the_title();
|
||
|
}
|
||
|
|
||
|
elseif ( is_checkout() ) {
|
||
|
the_title();
|
||
|
}
|
||
|
|
||
|
else {
|
||
|
the_title();
|
||
|
}
|
||
|
|
||
|
else :
|
||
|
the_title();
|
||
|
|
||
|
endif;
|
||
|
|
||
|
?>
|
||
|
</h2>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<?php // echo do_shortcode( '[jssor-slider alias="banner.slider" show_on_pages="homepage"]' ); ?>
|
||
|
|
||
|
<div class="col-md-6 col-xs-12 col-sm-6 breadcrumb-position">
|
||
|
<ul class="page-breadcrumb" style="display: none;">
|
||
|
<?php if (function_exists('specia_breadcrumbs')) specia_breadcrumbs();?>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</section>
|
||
|
|
||
|
<div class="clearfix"></div>
|