Arreglo del fichero single.php de la plantilla.
git-svn-id: https://192.168.0.254/svn/Proyectos.OriginalHouse_Web/trunk@59 54e8636e-a86c-764f-903d-b964358a1ae2
This commit is contained in:
parent
2cabe81016
commit
c98abea070
@ -3,23 +3,24 @@
|
||||
|
||||
<div id="content" class="col-full">
|
||||
<div id="main" class="fullwidth">
|
||||
|
||||
<?php if ( $woo_options['woo_breadcrumbs_show'] == 'true' ) { ?>
|
||||
<div id="breadcrumbs">
|
||||
<?php woo_breadcrumbs(); ?>
|
||||
</div><!--/#breadcrumbs -->
|
||||
<?php } ?>
|
||||
|
||||
<?php if ( $woo_options[ 'woo_breadcrumbs_show' ] == 'true' ) { ?>
|
||||
<div id="breadcrumbs">
|
||||
<?php woo_breadcrumbs(); ?>
|
||||
</div><!--/#breadcrumbs -->
|
||||
<?php } ?>
|
||||
|
||||
<?php if ( have_posts() ) { $count = 0; ?>
|
||||
<?php while ( have_posts() ) { the_post(); $count++; ?>
|
||||
<?php if (have_posts()) { $count = 0; ?>
|
||||
|
||||
<div <?php post_class(); ?>>
|
||||
|
||||
<div class="post-date">
|
||||
<span class="month"><?php the_time( 'M' ); ?></span>
|
||||
<span class="day"><?php the_time( 'd' ); ?></span>
|
||||
</div>
|
||||
|
||||
<div class="fix"></div>
|
||||
<div class="post_container">
|
||||
<div class="posts">
|
||||
<?php while ( have_posts() ) {
|
||||
the_post(); $count++; ?>
|
||||
|
||||
<div <?php post_class(); ?>>
|
||||
|
||||
<h2 class="title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute( array( 'echo' => 0 ) ); ?>"><?php the_title(); ?></a></h2>
|
||||
|
||||
<div class="entry">
|
||||
@ -28,49 +29,13 @@
|
||||
|
||||
<?php the_content( __( 'Continue Reading →', 'woothemes' ) ); ?>
|
||||
|
||||
<div class="post-more">
|
||||
|
||||
<?php edit_post_link( __( '{ Edit }', 'woothemes' ), '<span class="small">', '</span>' ); ?>
|
||||
</div><!-- .post-more -->
|
||||
|
||||
</div><!-- .entry -->
|
||||
|
||||
<?php woo_post_meta(); ?>
|
||||
|
||||
|
||||
<div class="fix"></div>
|
||||
|
||||
</div><!-- /.post -->
|
||||
|
||||
<?php if ( $woo_options[ 'woo_post_author' ] == 'true' ) { ?>
|
||||
<div id="post-author">
|
||||
<div class="profile-image"><?php echo get_avatar( get_the_author_meta( 'ID' ), '70' ); ?></div>
|
||||
<div class="profile-content">
|
||||
<h3 class="title"><?php printf( esc_attr__( 'About %s', 'woothemes' ), get_the_author() ); ?></h3>
|
||||
<?php the_author_meta( 'description' ); ?>
|
||||
<div class="profile-link">
|
||||
<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>">
|
||||
<?php printf( __( 'View all posts by %s <span class="meta-nav">→</span>', 'woothemes' ), get_the_author() ); ?>
|
||||
</a>
|
||||
</div><!-- #profile-link -->
|
||||
</div><!-- .post-entries -->
|
||||
<div class="fix"></div>
|
||||
</div><!-- #post-author -->
|
||||
<?php } ?>
|
||||
|
||||
<?php woo_subscribe_connect(); ?>
|
||||
|
||||
<div id="post-entries">
|
||||
<div class="nav-prev fl"><?php previous_post_link( '%link', '<span class="meta-nav">←</span> %title' ); ?></div>
|
||||
<div class="nav-next fr"><?php next_post_link( '%link', '%title <span class="meta-nav">→</span>' ); ?></div>
|
||||
<div class="fix"></div>
|
||||
</div><!-- #post-entries -->
|
||||
|
||||
<?php
|
||||
$comm = $woo_options['woo_comments'];
|
||||
if ( ( $comm == 'post' || $comm == 'both' ) ) {
|
||||
comments_template( '', true);
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
}
|
||||
} else {
|
||||
@ -80,8 +45,8 @@
|
||||
</div><!-- .post -->
|
||||
<?php } ?>
|
||||
|
||||
</div><!-- #main -->
|
||||
|
||||
</div><!-- #posts -->
|
||||
</div>
|
||||
<?php get_sidebar(); ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
|
||||
Reference in New Issue
Block a user