' . esc_html( get_bloginfo( 'description', 'pliska' ) ) . '
';
// Display call to action
do_action( 'pliska_call_to_action_hook' );
}
// if homepage is a static page, display the page title
elseif ( is_front_page() && ! is_home() ) {
echo '' , the_title() , '
';
// Display call to action
do_action( 'pliska_call_to_action_hook' );
}
// if a static page for blog posts is selected, display its title
elseif ( ! is_front_page() && is_home() ) {
echo '' , single_post_title() , '
';
}
// if it is a normal single page or post, wrap the header text and display post title
elseif ( is_page() ) {
echo '' , the_title() , '
';
}
// if it is a normal single page or post, wrap the header text and display post title
elseif ( is_singular() ) {
echo '' , the_title() , '
';
} else {
echo '';
if ( function_exists( 'is_shop' ) && is_shop() ) {
echo wp_kses( get_the_title( wc_get_page_id( 'shop' ) ), array() );
} elseif ( is_archive() ) {
echo wp_kses( get_the_archive_title(), array() );
}
if ( is_search() ) {
printf( __( 'Search Results for: %s', 'pliska' ), '' . get_search_query() . '' );
}
if ( is_404() ) {
_e( 'Not Found', 'pliska' );
}
echo '
';
}
// Single Posts and pages. DIsplay post excerpt
if ( is_singular() && has_excerpt() ) {
echo '' , wp_kses_post( get_the_excerpt() ) , '
';
}
if ( ( is_archive() && ! function_exists( 'is_shop' ) ) || ( is_archive() && ! is_shop() ) ) {
echo '' , wp_kses_post( get_the_archive_description() ) , '
';
}
if ( is_search() ) {
echo get_search_form();
}
// Single Posts. Post Meta after Header Title
if ( is_single() ) { ?>