array( 'href' => array(), 'title' => array(), 'target' => array(), 'follow' => array() ), 'br' => array(), 'em' => array(), 'strong' => array(), 'i' => array(), ); $is_woocommerce = Citadela_Theme::get_instance()->is_active_woocommerce(); $is_citadela_pro = Citadela_Theme::get_instance()->is_active_pro_plugin(); $header_class = []; /* Latest posts page selected as front page in Reading settings do not use page title at all if necessary to acces only this page, use condition ( is_front_page() && is_home() ) */ if (function_exists('tribe_is_event_query') && tribe_is_event_query()) { } elseif ( is_front_page() && !is_home()) { /* * Static Page homepage defined in Reading Settings */ $post_id = get_the_ID(); //check if page shows title $hide_title = get_post_meta( $post_id, '_citadela_hide_page_title', true ); if(!$hide_title) : $title_text = get_the_title(); ?>

post_title; ?>

' . esc_html__('Category archives: ', 'citadela') . ''; $title_text = '' . single_cat_title('', false) . ''; $description = get_the_archive_description(); if( $description ) { $header_class[] = 'has-subtitle'; } ?>

' . esc_html__('Author archives: ', 'citadela') . ''; $title_text = '' . $author_name . ''; $description = get_the_archive_description(); if( $description ) { $header_class[] = 'has-subtitle'; } ?>

' . esc_html__('Tag archives: ', 'citadela') . ''; $title_text = '' . single_tag_title('', false) . ''; $description = get_the_archive_description(); if( $description ) { $header_class[] = 'has-subtitle'; } ?>

' . esc_html__('Date archives: ', 'citadela') . ''; $title_text = '' . get_the_date() . ''; ?>

' . get_search_query() . ''; $title_text = '' . esc_html__('Search results for: ', 'citadela') . '' . $search_query; ?>