';
echo '
';
echo'Home';
echo '' . $sep;
// Check if the current page is a category, an archive or a single page. If so show the category or archive name.
if ( is_category() || is_single() ){
the_category(' > ');
} elseif ( is_archive() || is_single() ){
if ( is_day() ) {
printf( __( '%s', 'buddyx' ), get_the_date() );
} elseif ( is_month() ) {
printf( __( '%s', 'buddyx' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'buddyx' ) ) );
} elseif ( is_year() ) {
printf( __( '%s', 'buddyx' ), get_the_date( _x( 'Y', 'yearly archives date format', 'buddyx' ) ) );
} elseif( is_shop() ) {
_e( 'Shop', 'buddyx' );
}elseif( is_archive('post-type-archive-forum') ) {
_e( 'Forums Archives', 'buddyx' );
} else {
_e( 'Blog Archives', 'buddyx' );
}
}
// If the current page is a single post, show its title with the separator
if (is_single()) {
echo $sep;
the_title();
}
// If the current page is a static page, show its title.
if (is_page()) {
echo the_title();
}
// if you have a static page assigned to be you posts list page. It will find the title of the static page and display it. i.e Home > Blog
if (is_home()){
_e( 'Blog', 'buddyx' );
}
echo '
';
}
}
}
}
// Site Loader
if ( !function_exists( 'site_loader' ) ) {
function site_loader() {
$loader = get_theme_mod( 'site_loader', buddyx_defaults( 'site-loader' ) );
if ( $loader == "1" ) {
echo '