EstudioJuridicoAlmagro_Web/www/loop.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

48 lines
1.1 KiB
PHP

<?php
// display full post/image or thumbs
if(!isset($called_from_shortcode)) {
$image = $meta = 'true';
$full = 'true';
$nopaging = 'false';
$img_style = 'full';
$width = 'full';
$news = 'false';
$split = 1;
}
$img_style = $img_style.'image';
global $wpv_loop_vars;
$old_wpv_loop_vars = $wpv_loop_vars;
$wpv_loop_vars = array(
'image' => $image,
'meta' => $meta,
'fullpost' => $full,
'img_style' => $img_style,
'width' => $width,
);
?>
<div class="loop-wrapper clearfix <?php echo $width?> <?php if($news=='true') echo 'news'?> force-full-width <?php if((int)$split>1) echo 'split'?>">
<?php
$i = 0;
if(have_posts()) while(have_posts()): the_post();
?>
<div class="page-content post-head clearfix <?php echo get_post_type()?> <?php if ( ($i+1)%$split == 0) echo 'last'; ?>">
<?php
wpv_post_template(array('video', 'audio', 'abogado'));
comments_template();
?>
</div>
<?php
$i++;
endwhile;
?>
<?php $wpv_loop_vars = $old_wpv_loop_vars; ?>
<?php if($nopaging != 'true' && function_exists('wpv_pagination')) wpv_pagination() ?>
</div>