HEX
Server: LiteSpeed
System: Linux cde2.duelhost.dk 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
User: dtptviut (1121)
PHP: 8.0.30
Disabled: exec,system,passthru,shell_exec,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/dtptviut/domains/morsunivers.dk/public_html/wp-content/themes/mts_dropshipping/archive.php
<?php
/**
 * The template for displaying archive pages
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package Dropshipping
 */

$mts_options = get_option( MTS_THEME_NAME );
?>
<?php get_header(); ?>
<div class="blog-background page-title">
	<div class="container">
		<h1 class="postsby title"><?php the_archive_title(); ?></h1>
		<?php
		if ( '1' == $mts_options['mts_breadcrumb'] ) {
			mts_the_breadcrumb();
		}
		?>
	</div>
</div>
<div id="page">
	<div class="<?php mts_article_class(); ?>">
		<div id="content_box">
			<?php
			$blog_layout = ! empty( $mts_options['mts_blog_posts_layout'] ) ? $mts_options['mts_blog_posts_layout'] : '';
			?>
			<div class="article-wrapper <?php echo $blog_layout; ?>">	
				<?php
				$j = 0;
				if ( have_posts() ) :
					while ( have_posts() ) :
						the_post();
						?>
						<article class="latestPost excerpt <?php echo( ++$j % 3 == 0 ) ? 'last' : ''; ?>">
							<?php mts_archive_post(); ?>
						</article><!--.post excerpt-->
						<?php
					endwhile;
				endif;

				if ( 0 !== $j ) { // No pagination if there is no posts.
					mts_pagination();
				}
				?>
			</div>	
		</div>
	</div>
<?php get_footer(); ?>