git-svn-id: https://192.168.0.254/svn/Proyectos.EstudioJuridicoAlmagro_Web/trunk@4 c22fe52d-42d7-ba4f-95f7-33effcf65713
97 lines
3.0 KiB
PHP
97 lines
3.0 KiB
PHP
<div class="clearfix"></div>
|
|
|
|
<?php extract(wpv_post_info()) ?>
|
|
|
|
<?php
|
|
if(has_post_format('image')) {
|
|
$show_image = true;
|
|
$img_style = 'fullimage';
|
|
}
|
|
|
|
ob_start();
|
|
|
|
if($show_image) {
|
|
$has_image = po_post_image($img_style);
|
|
} else {
|
|
$has_image = 'no-image';
|
|
}
|
|
|
|
$post_image = ob_get_clean();
|
|
?>
|
|
|
|
<div class="side-post-info <?php echo $has_image?>-wrapper one_half">
|
|
<?php
|
|
if($show_image) {
|
|
$has_image = po_post_image($img_style, $width);
|
|
} else {
|
|
$has_image = 'no-image';
|
|
}
|
|
?>
|
|
<?php
|
|
$format = get_post_format();
|
|
$format = empty($format)? 'standard' : $format;
|
|
?>
|
|
<?php if(wpv_get_option('meta_posted_on')): ?>
|
|
<span class="entry-date" title="<?php the_time(); ?>"><?php the_time('j F Y'); ?></span>
|
|
<?php endif ?>
|
|
<?php edit_post_link('Edit') ?>
|
|
|
|
|
|
</div>
|
|
<div class="<?php /*post-article*/ ?>no-image-wrapper one_half last">
|
|
<?php // if(!has_post_format('aside') && !has_post_format('quote') && $img_style == 'fullimage') po_post_header($meta) ?>
|
|
|
|
<div class="<?php echo $format?>-post-format clearfix">
|
|
<div class="post-content-outer <?php echo $has_image ?>">
|
|
<?php if(!has_post_format('aside') && !has_post_format('quote') && $img_style != 'fullimage') po_post_header($meta) ?>
|
|
|
|
<div class="post-content the-content">
|
|
<h2><?php the_title(); ?></h2>
|
|
<br/>
|
|
|
|
<?php if(has_post_format('quote')): ?>
|
|
<blockquote>
|
|
<?php the_content() ?>
|
|
</blockquote>
|
|
<?php if(is_single()): ?>
|
|
<?php
|
|
wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'wpv' ), 'after' => '</div>' ) );
|
|
?>
|
|
<?php endif ?>
|
|
<?php else: ?>
|
|
<?php
|
|
if(is_single()) {
|
|
the_content();
|
|
wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'wpv' ), 'after' => '</div>' ) );
|
|
} else {
|
|
if($fullpost) {
|
|
global $more;
|
|
$more = 0;
|
|
the_content(__("Read More", 'wpv'),false);
|
|
} else {
|
|
the_excerpt();
|
|
}
|
|
}
|
|
?>
|
|
|
|
<?php endif ?>
|
|
</div>
|
|
|
|
<?php if(is_single()) wpv_share('post'); ?>
|
|
|
|
<footer class="entry-utility">
|
|
<?php if($meta && wpv_get_option('meta_posted_in')): ?>
|
|
<span><?php _e('Categories:', 'wpv')?></span> <span><?php echo get_the_category_list(', '); ?></span>
|
|
<?php the_tags('<span>Tags: </span><span>',', ','</span>')?>
|
|
<?php endif ?>
|
|
<?php if(wpv_get_option('meta_comment_count')): ?>
|
|
<span class="comments-link fr"><?php comments_popup_link('<b>Leave a comment</b> <span class="icomment-box">?</span>', '<b>Comment</b> <span class="icomment-box">1</span>', '<b>Comments</b> <span class="icomment-box">%</span>'); ?></span>
|
|
<?php endif ?>
|
|
</footer>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|