';
echo '
';
if( is_category() ) {
$archive_category_info_box_icon_option = BIT\blogistic_get_customizer_option( 'archive_category_info_box_icon_option' );
$archive_category_info_box_icon = BIT\blogistic_get_customizer_option( 'archive_category_info_box_icon' );
$archive_category_info_box_title_option = BIT\blogistic_get_customizer_option( 'archive_category_info_box_title_option' );
$archive_category_info_box_description_option = BIT\blogistic_get_customizer_option( 'archive_category_info_box_description_option' );
$archive_category_info_box_title_tag = BIT\blogistic_get_customizer_option( 'archive_category_info_box_title_tag' );
$icon_html = blogistic_get_icon_control_html( $archive_category_info_box_icon );
echo '
';
if( $icon_html && $archive_category_info_box_icon_option ) echo $icon_html;
if( $archive_category_info_box_title_option ) the_archive_title( '<'. esc_attr( $archive_category_info_box_title_tag ) .' class="page-title">', ''. esc_attr( $archive_category_info_box_title_tag ) .'>' );
echo '
';
if( $archive_category_info_box_description_option ) the_archive_description( '
', '
' );
} else if( is_tag() ) {
$archive_tag_info_box_icon_option = BIT\blogistic_get_customizer_option( 'archive_tag_info_box_icon_option' );
$archive_tag_info_box_icon = BIT\blogistic_get_customizer_option( 'archive_tag_info_box_icon' );
$archive_tag_info_box_title_option = BIT\blogistic_get_customizer_option( 'archive_tag_info_box_title_option' );
$archive_tag_info_box_description_option = BIT\blogistic_get_customizer_option( 'archive_tag_info_box_description_option' );
$archive_tag_info_box_title_tag = BIT\blogistic_get_customizer_option( 'archive_tag_info_box_title_tag' );
$icon_html = blogistic_get_icon_control_html($archive_tag_info_box_icon);
echo '
';
if( $icon_html && $archive_tag_info_box_icon_option ) echo $icon_html;
if( $archive_tag_info_box_title_option ) the_archive_title( '<'. esc_attr( $archive_tag_info_box_title_tag ) .' class="page-title">', ''. esc_attr( $archive_tag_info_box_title_tag ) .'>' );
echo '
';
if( $archive_tag_info_box_description_option ) the_archive_description( '
', '
' );
} else if( is_author() ) {
$archive_author_info_box_image_option = BIT\blogistic_get_customizer_option( 'archive_author_info_box_image_option' );
$archive_author_info_box_title_option = BIT\blogistic_get_customizer_option( 'archive_author_info_box_title_option' );
$archive_author_info_box_description_option = BIT\blogistic_get_customizer_option( 'archive_author_info_box_description_option' );
$archive_author_info_box_title_tag = BIT\blogistic_get_customizer_option( 'archive_author_info_box_title_tag' );
echo '
';
if( $archive_author_info_box_image_option ) {
$author_image = get_avatar( get_queried_object_id(), 90 );
if( $author_image ) echo $author_image;
}
if( $archive_author_info_box_title_option ) the_archive_title( '<'. esc_attr( $archive_author_info_box_title_tag ) .' class="page-title">', ''. esc_attr( $archive_author_info_box_title_tag ) .'>' );
echo '
';
if( $archive_author_info_box_description_option ) the_archive_description( '
', '
' );
} else {
the_archive_title( '
', '
' );
}
echo '
';
echo '
';
echo '';
}
add_action( 'blogistic_page_header_hook', 'blogistic_archive_header_html' );
endif;
if( ! function_exists( 'blogistic_shooting_star_animation_html' ) ) :
/**
* Background animation one
*
* @package Blogistic Pro
* @since 1.0.0
*/
function blogistic_shooting_star_animation_html() {
$elementClass = 'blogistic-background-animation';
?>
';
}
add_action( 'blogistic_main_content_opening', 'blogistic_get_opening_div_main_wrap', 10 );
endif;
if( ! function_exists( 'blogistic_get_page_header_hook' ) ) :
function blogistic_get_page_header_hook() {
/**
* Hook - blogistic_page_header_hook
*
* Hooked - blogistic_archive_header_html - 10
*/
do_action( 'blogistic_page_header_hook' );
}
add_action( 'blogistic_main_content_opening', 'blogistic_get_page_header_hook', 20 );
endif;
if( ! function_exists( 'blogistic_get_opening_div_container' ) ) :
/**
* Renders the opening div for .blogistic-container class
*
* @since 1.0.0
*/
function blogistic_get_opening_div_container() {
echo '
';
}
add_action( 'blogistic_main_content_opening', 'blogistic_get_opening_div_container', 30 );
endif;
if( ! function_exists( 'blogistic_get_single_content_exclude_layout_three' ) ) :
/**
* Renders contents of single post excluding layout three
*
* @since 1.0.0
*/
function blogistic_get_single_content_exclude_layout_three() {
/**
* hook - blogistic_before_main_content
*
* hooked - blogistic_breadcrumb_html - 10
* hooked - blogistic_single_header_html - 20
*/
if( has_action( 'blogistic_before_main_content' ) ) do_action( 'blogistic_before_main_content' );
}
add_action( 'blogistic_main_content_opening', 'blogistic_get_single_content_exclude_layout_three', 40 );
endif;
if( ! function_exists( 'blogistic_get_opening_div_row' ) ) :
/**
* Renders the opening div for .row class
*
* @since 1.0.0
*/
function blogistic_get_opening_div_row() {
echo '
';
}
add_action( 'blogistic_main_content_opening', 'blogistic_get_opening_div_row', 50 );
endif;
if( ! function_exists( 'blogistic_get_closing_div_row' ) ) :
/**
* Renders the opening div for .row class
*
* @since 1.0.0
*/
function blogistic_get_closing_div_row() {
echo '
';
}
add_action( 'blogistic_main_content_closing', 'blogistic_get_closing_div_row', 10 );
endif;
if( ! function_exists( 'blogistic_get_closing_div_container' ) ) :
/**
* Renders the opening div for .row class
*
* @since 1.0.0
*/
function blogistic_get_closing_div_container() {
echo '
';
}
add_action( 'blogistic_main_content_closing', 'blogistic_get_closing_div_container', 20 );
endif;
if( ! function_exists( 'blogistic_get_before_footer_hook' ) ) :
/**
* Renders the opening div for .row class
*
* @since 1.0.0
*/
function blogistic_get_before_footer_hook() {
/**
* hook - blogistic_before_footer_hook
*
* hooked - blogistic_footer_advertisement_part - 10
* hooked - blogistic_you_may_have_missed_html - 100
*/
if( is_single() ) do_action( 'blogistic_before_footer_hook' );
}
add_action( 'blogistic_main_content_closing', 'blogistic_get_before_footer_hook', 30 );
endif;
if( ! function_exists( 'blogistic_get_closing_div_main_wrap' ) ) :
/**
* Renders the opening div for .row class
*
* @since 1.0.0
*/
function blogistic_get_closing_div_main_wrap() {
echo '