| Server IP : 119.59.104.26 / Your IP : 216.73.217.51 Web Server : Apache/2 System : Linux ns69.hostinglotus.net 4.18.0-553.141.2.el8_10.x86_64 #1 SMP Wed Jul 8 10:28:18 EDT 2026 x86_64 User : com12370 ( 1517) PHP Version : 7.2.34 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/com12370/public_html/wp-content/themes/titan/ |
Upload File : |
<?php
/**
* Archive Header
* created by ninhle - wiloke team
* @since 1.0
*/
$title = "";
if ( is_search() )
{
$title = __('Search Results For: ', 'titan');
$des = get_search_query();
}elseif( is_category() )
{
$title = __('Browsing category: ', 'titan');
$des = single_cat_title( '', false );
}elseif(is_tag())
{
$title = __("Browsing tag:", 'titan');
$des = single_tag_title('', false);
}elseif( is_author() )
{
$title = __('All posts by: ', 'titan');
$des = get_the_author();
}elseif( is_archive() )
{
if ( is_day() ) :
$title = __("Daily Archives: ", 'titan');
$des = get_the_date();
elseif ( is_month() ) :
$title = __("Monthly Archives: ", 'titan');
$des = get_the_date( _x( 'F Y', 'monthly archives date format', 'titan' ) );
elseif ( is_year() ) :
$title = __("Yearly Archives: ", 'titan');
$des = get_the_date( _x( 'Y', 'yearly archives date format', 'titan' ) );
else :
$title = __( 'Archives: ', 'titan' );
endif;
}
if ( !empty($des) )
{
$title = $title . ' ' . $des;
}
if ( !empty($title) ) :
?>
<!-- BLOG HEADING -->
<div class="category-page-title">
<h1><?php echo esc_html($title); ?></h1>
<div class="pi-border">
<span></span>
<span></span>
</div>
</div>
<!-- END / BLOG HEADING -->
<?php
endif;
?>