git-svn-id: https://192.168.0.254/svn/Proyectos.EstudioJuridicoAlmagro_Web/trunk@3 c22fe52d-42d7-ba4f-95f7-33effcf65713
40 lines
1.0 KiB
PHP
40 lines
1.0 KiB
PHP
<?php
|
|
/**
|
|
* @package WordPress
|
|
* @subpackage Progressio
|
|
*/
|
|
|
|
$layout_type = 'full';
|
|
define('WPV_LAYOUT', 'no-sidebars');
|
|
|
|
get_header(); ?>
|
|
|
|
<?php if ( have_posts() ): the_post(); ?>
|
|
|
|
<header class="page-header">
|
|
<h1><?php
|
|
if ( is_day() ) : ?>
|
|
<?php printf( __( 'Daily Archives: <span>%s</span>', 'wpv' ), get_the_date() ); ?>
|
|
<?php elseif ( is_month() ) : ?>
|
|
<?php printf( __( 'Monthly Archives: <span>%s</span>', 'wpv' ), get_the_date('F Y') ); ?>
|
|
<?php elseif ( is_year() ) : ?>
|
|
<?php printf( __( 'Yearly Archives: <span>%s</span>', 'wpv' ), get_the_date('Y') ); ?>
|
|
<?php else : ?>
|
|
<?php _e( 'Blog Archives', 'wpv' ); ?>
|
|
<?php endif;
|
|
?></h1>
|
|
</header>
|
|
|
|
<div class="clearfix page-wrapper">
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class($layout_type); ?>>
|
|
<div class="page-content">
|
|
<?php rewind_posts() ?>
|
|
<?php get_template_part('loop', 'archive') ?>
|
|
</div><!-- .entry-content -->
|
|
</article>
|
|
</div>
|
|
|
|
<?php endif ?>
|
|
|
|
<?php get_footer(); ?>
|