%1$s%3$s',
esc_html__('You are here:', 'adelin'),
home_url(),
esc_html__( 'Home', 'adelin' )
);
echo adelin_svg_icon('pointer');
}
if ( (is_category() || is_single()) && !is_attachment() ) {
$category = get_the_category();
if (count($category) > 0){
$ID = $category[0]->cat_ID;
if ( $ID ) {
echo get_category_parents($ID, TRUE, ' ', FALSE );
echo adelin_svg_icon('pointer');
}
}
}
if(is_single() || is_page()) {
if ( !is_front_page() ){
echo '
';
the_title();
echo '';
}
}
if (is_tag()){ echo '
' . esc_html__('Tag: ', 'adelin') . single_tag_title('',FALSE). ''; }
if (is_404()){ echo '
' . esc_html__('404 - Page not Found', 'adelin') . ''; }
if (is_search()){ echo '
' . esc_html__('Search', 'adelin'). ''; }
if (is_year()){ echo '
' . get_the_time('Y'). ''; }
if (is_month()){ echo '
' . get_the_time('F Y'). ''; }
if (is_author()){ echo '
' . esc_html__('Posts by ', 'adelin') . get_the_author(). ''; }
if ( !is_front_page() ) {
echo "
";
}
}
/**
* Render the footer credit, print from the footer_credit options, or default.
*
* @since Adelin 1.0
*
* @return void
*/
function adelin_footer_credit( $echo = false ) {
if ( $footer_credit = get_theme_mod( 'footer_credit', false ) ) {
$footer_credit = adelin_sanitize_footer_credit( $footer_credit );
}else{
$footer_credit = adelin_sanitize_footer_credit(
/* translators: %1$s: Site name, %2$s: Wordpress link, %3$s: theme designer link */
sprintf( _x('%1$s Powered by %2$s and designed by %3$s.', '%1$s for homepage link, %2$s for wordpress.org link, %3$s for theme designer link', 'adelin'),
'