EstudioJuridicoAlmagro_Web/www/archive.php
david f72df580c3 - Importación inicial
- Ticket 1166 -> Orden de los idiomas ES FR EN RU

git-svn-id: https://192.168.0.254/svn/Proyectos.EstudioJuridicoAlmagro_Web/trunk@2 c22fe52d-42d7-ba4f-95f7-33effcf65713
2013-02-27 15:39:05 +00:00

40 lines
992 B
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(); ?>