hello
Server : Apache/2.4.52 (Ubuntu) System : Linux HAN2 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 User : servadmin ( 1000) PHP Version : 8.1.2-1ubuntu2.25 Disable Function : NONE Directory : /www/docs/www.obusignal.com/www.obusignal.com/wp-content/themes/editorial/ |
<?php
/**
* The template for displaying archive pages.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Mystery Themes
* @subpackage Editorial
* @since 1.0.0
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php
$mt_cat_id = get_query_var('cat');
if ( have_posts() ) : ?>
<header class="page-header mt-cat-<?php echo esc_attr( $mt_cat_id ); ?>">
<h1 class="page-title mt-archive-title"><?php the_archive_title(); ?></h1>
<?php the_archive_description( '<div class="taxonomy-description">', '</div>' ); ?>
</header><!-- .page-header -->
<div class="archive-content-wrapper clearfix">
<?php
/* Start the Loop */
while ( have_posts() ) : the_post();
/*
* Include the Post-Type-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Type name) and that will be used instead.
*/
get_template_part( 'template-parts/content', get_post_type() );
endwhile;
the_posts_pagination();
?>
</div><!-- .archive-content-wrapper -->
<?php
else :
get_template_part( 'template-parts/content', 'none' );
endif;
?>
</main><!-- #main -->
</div><!-- #primary -->
<?php
editorial_sidebar();
get_footer();