| Server IP : 119.59.104.26 / Your IP : 216.73.217.55 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/MIXThemes/ |
Upload File : |
<?php
/**
* The template for displaying category pages
*
*/
defined( 'ABSPATH' ) || exit; // Exit if accessed directly
get_header(); ?>
<div <?php tie_content_column_attr(); ?>>
<?php
// Do not duplicate posts
if( ! empty( $GLOBALS['tie_do_not_duplicate'] ) && is_array( $GLOBALS['tie_do_not_duplicate'] )){
global $wp_query;
$args = array_merge( $wp_query->query_vars, array( 'post__not_in' => $GLOBALS['tie_do_not_duplicate'] ) );
// Run The Query
query_posts( $args );
}
if ( have_posts() ) : ?>
<header class="entry-header-outer container-wrapper">
<?php
do_action( 'TieLabs/before_archive_title' );
the_archive_title( '<h1 class="page-title">', '</h1>' );
if( tie_get_option( 'category_desc' )){
the_archive_description( '<div class="taxonomy-description entry">', '</div>' );
}
do_action( 'TieLabs/after_archive_title' );
?>
</header><!-- .entry-header-outer /-->
<?php
// Category layout
$layout = tie_get_object_option( 'category_layout' ) ? tie_get_object_option( 'category_layout' ) : tie_get_option( 'category_layout' );
$layout = ! empty( $layout ) ? $layout : 'excerpt';
// Category Excerpt length
$excerpt_length = tie_get_object_option( 'category_excerpt_length' ) ? tie_get_object_option( 'category_excerpt_length' ) : tie_get_option( 'category_excerpt_length' );
// Category Media Overlay
$media_overlay = tie_get_object_option( 'category_media_overlay' ) ? true : false;
// Get the layout template part
TIELABS_HELPER::get_template_part( 'templates/archives', '', array(
'layout' => $layout,
'excerpt_length' => $excerpt_length,
'media_overlay' => $media_overlay,
'category_meta' => apply_filters( 'TieLabs/Archive_Thumbnail/category_meta', false ),
));
do_action( 'TieLabs/after_archive_posts' );
// Page navigation
$pagination = tie_get_object_option( 'category_pagination' ) ? tie_get_object_option( 'category_pagination' ) : tie_get_option( 'category_pagination' );
TIELABS_PAGINATION::show( array( 'type' => $pagination ) );
// Get the Footer Description section
TIELABS_HELPER::get_template_part( 'templates/category', 'footer' );
do_action( 'TieLabs/after_archive_pagination' );
// If no content, include the "No posts found" template
else :
TIELABS_HELPER::get_template_part( 'templates/not-found' );
endif;
?>
</div><!-- .main-content /-->
<?php get_sidebar(); ?>
<?php get_footer(); ?>