WS_OK_7.4.33 HEX
HEX
Server: nginx/1.21.4
System: Linux v12674 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64
User: endtheignorance (1014)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /storage/v12674/lcacorpold/public_html/wp-content/themes/dp_evolve/template.archive.php
<?php
/*
Template Name: Archive Page
*/

global $dynamo_tpl;

dp_load('header');
dp_load('before');

?>

<section id="dp-mainbody" class="archivepage">
	<?php the_post(); ?>
		<header>
			<?php get_template_part( 'layouts/content.post.header' ); ?>
		</header>
	<article>
		<section class="intro">
			<?php the_content(); ?>
		</section>
		
		<?php
			$posts_to_show = 10; //Max number of articles to display
			$debut = 0; //The first article to be displayed
		?>
		<div class="widget box first">
			<h3><?php __('Latest posts', 'dp-theme'); ?></h3>
			<ul>
				<?php
					$myposts = get_posts('numberposts='.$posts_to_show.'&offset='.$debut);
					foreach($myposts as $post) :
				?>
				<li><small><?php the_time('d/m/y') ?>:</small> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
				<?php endforeach; ?>
			</ul>
		</div>
	
		<div class="widget box">
			<h3><?php __('Categories', 'dp-theme'); ?></h3>
			<ul>
				<?php 
					wp_list_categories(array(
						'orderby' => 'name',
						'show_count' => 1,
						'title_li' => ''
					)); 
				?>
			</ul>
		</div>
		
		<div class="widget box last">
			<h3><?php __('Monthly Archives', 'dp-theme'); ?></h3>
			<ul>
				<?php wp_get_archives('type=monthly&show_post_count=1') ?>
			</ul>
		</div>
		
	</article>
</section>

<?php

dp_load('after');
dp_load('footer');

// EOF