' : ''; ?>
post_title );
elseif ( is_archive() ) :
if ( class_exists( 'WooCommerce' ) ) :
if ( is_shop() || is_product_category() || is_product_tag() ) :
$overlay_shop_id = get_option( 'woocommerce_shop_page_id' );
echo esc_html( get_page( $overlay_shop_id )->post_title );
else :
the_archive_title();
the_archive_description( '
', '
' );
endif;
else :
the_archive_title();
the_archive_description( '', '
' );
endif;
elseif ( is_search() ) :
/* translators: %s: search query. */
printf( esc_html__( 'Search Results for: %s', 'overlay' ), '' . get_search_query() . '' );
else :
if ( class_exists( 'WooCommerce' ) ) :
if ( is_product() ) :
$overlay_shop_id = get_option( 'woocommerce_shop_page_id' );
echo esc_html( get_page( $overlay_shop_id )->post_title . ' - ' );
endif;
endif;
the_title();
endif;
?>
' : ''; ?>