'; if ( is_day() ) : /* translators: %1$s %2$s: date */ printf( esc_html__( '%1$s %2$s', '99fy' ), esc_html__('Archives','99fy'), get_the_date() ); elseif ( is_month() ) : /* translators: %1$s %2$s: month */ printf( esc_html__( '%1$s %2$s', '99fy' ), esc_html__('Archives','99fy'), get_the_date( 'F Y' ) ); elseif ( is_year() ) : /* translators: %1$s %2$s: year */ printf( esc_html__( '%1$s %2$s', '99fy' ), esc_html__('Archives','99fy'), get_the_date( 'Y' ) ); elseif( is_author() ): /* translators: %1$s %2$s: author */ printf( esc_html__( '%1$s %2$s', '99fy' ), esc_html__('All posts by','99fy'), get_the_author() ); elseif( is_category() ): /* translators: %1$s %2$s: category */ printf( esc_html__( '%1$s %2$s', '99fy' ), esc_html__('Category','99fy'), single_cat_title( '', false ) ); elseif( is_tag() ): /* translators: %1$s %2$s: tag */ printf( esc_html__( '%1$s %2$s', '99fy' ), esc_html__('Tag','99fy'), single_tag_title( '', false ) ); elseif( class_exists( 'WooCommerce' ) && is_shop() ): /* translators: %1$s %2$s: WooCommerce */ printf( esc_html__( '%1$s %2$s', '99fy' ), esc_html__('Shop','99fy'), single_tag_title( '', false )); elseif( is_archive() ): the_archive_title( '

', '

' ); endif; echo ''; } elseif( is_404() ) { echo '

'; /* translators: %1$s: 404 */ printf( esc_html__( '%1$s', '99fy' ) , esc_html__('Error 404','99fy') ); echo '

'; } elseif( is_search() ) { echo '

'; /* translators: %1$s %2$s: search */ printf( esc_html__( '%1$s %2$s', '99fy' ), esc_html__('Search results for','99fy'), get_search_query() ); echo '

'; } else { echo '

'.esc_html( get_the_title() ).'

'; } } /** * 99fy Theme Breadcrumbs */ if( !function_exists('nnfy_page_header_breadcrumbs') ): function nnfy_page_header_breadcrumbs() { /* === Options === */ $text['home'] = esc_html__('Home', '99fy'); $text['category'] = esc_html__('Archive "%s"', '99fy'); $text['search'] = esc_html__('Search results for "%s"', '99fy'); $text['tag'] = esc_html__('Posts with tag "%s"', '99fy'); $text['author'] = esc_html__('%s posts', '99fy'); $text['404'] = esc_html__('Error 404', '99fy'); $text['page'] = esc_html__('Page %s', '99fy'); $text['cpage'] = esc_html__('Comments page %s', '99fy'); $delimiter = '  |  '; $delim_before = ''; $delim_after = ''; $show_home_link = 1; $show_on_home = 0; $show_title = 1; $show_current = 1; $before = ''; $after = ''; /* === End options === */ global $post; $home_link = esc_url(home_url('/')); $link_before = ''; $link_after = ''; $link_attr = ''; $link_in_before = ''; $link_in_after = ''; $link = $link_before . '' . $link_in_before . '%2$s' . $link_in_after . '' . $link_after; $frontpage_id = get_option('page_on_front'); $parent_id = isset($post) ? $post->post_parent : ''; $delimiter = '  /  '; if (is_home() || is_front_page()) { if ($show_on_home == 1) echo ''; } else { echo ''; } } endif;