Mostrar los posts como galería

git-svn-id: https://192.168.0.254/svn/Proyectos.OriginalHouse_Web/trunk@25 54e8636e-a86c-764f-903d-b964358a1ae2
This commit is contained in:
David Arranz 2011-07-12 18:11:38 +00:00
parent aa10e1d941
commit 47d7f7e8fb
38 changed files with 123 additions and 125 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

BIN
información/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

View File

@ -4,73 +4,57 @@
?>
<div id="content" class="col-full">
<div id="main" class="col-right">
<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 if (is_category()) { ?>
<span class="archive_header"><span class="fl cat"><?php _e( 'Archive', 'woothemes' ); ?> | <?php echo single_cat_title(); ?></span> <span class="fr catrss"><?php $cat_obj = $wp_query->get_queried_object(); $cat_id = $cat_obj->cat_ID; echo '<a href="'; get_category_rss_link(true, $cat, '' ); echo '">'; _e( "RSS feed for this section", "woothemes" ); echo '</a>'; ?></span></span>
<?php } elseif (is_day()) { ?>
<span class="archive_header"><?php _e( 'Archive', 'woothemes' ); ?> | <?php the_time( get_option( 'date_format' ) ); ?></span>
<?php } elseif (is_month()) { ?>
<span class="archive_header"><?php _e( 'Archive', 'woothemes' ); ?> | <?php the_time( 'F, Y' ); ?></span>
<?php } elseif (is_year()) { ?>
<span class="archive_header"><?php _e( 'Archive', 'woothemes' ); ?> | <?php the_time( 'Y' ); ?></span>
<?php } elseif (is_author()) { ?>
<span class="archive_header"><?php _e( 'Archive by Author', 'woothemes' ); ?></span>
<?php } elseif (is_tag()) { ?>
<span class="archive_header"><?php _e( 'Tag Archives:', 'woothemes' ); ?> <?php echo single_tag_title( '', true ); ?></span>
<?php } ?>
<div class="fix"></div>
<div class="post_container">
<div class="posts">
<?php while ( have_posts() ) { the_post(); $count++; ?>
<!-- Post Starts -->
<div <?php post_class(); ?>>
<div <?php post_class(); ?>>
<?php if ( $woo_options[ 'woo_title_show' ] == 'true' ) { ?>
<h1 class="title"><?php the_title(); ?></h1>
<?php } ?>
<div class="entry">
<?php if (has_post_thumbnail()) {
$large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'full');
$thumb_size = array($woo_options['woo_thumb_w'],$woo_options['woo_thumb_h']);
$description = the_title('', '', false);
if ( strlen($description) < 2 ) { $description = ''; }
$attrib = array('title' => $description);
?>
<a rel="lightbox" href="<?php echo $large_image_url[0]; ?>" title="<?php echo $description; ?>" class="size-<?php echo $image_size; ?>">
<span></span>
<?php echo the_post_thumbnail($thumb_size, $attrib); ?>
</a>
<?php
}
?>
<?php /*if ( $woo_options[ 'woo_post_content' ] != 'content' ) { woo_image( 'width='.$woo_options['woo_thumb_w'].'&height='.$woo_options['woo_thumb_h'].'&class=thumbnail '.$woo_options['woo_thumb_align']); }*/ ?>
<div class="post-date">
<span class="month"><?php the_time( 'M' ); ?></span>
<span class="day"><?php the_time( 'd' ); ?></span>
</div>
<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">
<?php if ( $woo_options[ 'woo_post_content' ] != 'content' ) { woo_image( 'width='.$woo_options['woo_thumb_w'].'&height='.$woo_options['woo_thumb_h'].'&class=thumbnail '.$woo_options['woo_thumb_align']); } ?>
<?php if ( $woo_options[ 'woo_post_content' ] == 'content' ) { the_content( __( 'Continue Reading &rarr;', 'woothemes' ) ); } else { the_excerpt(); } ?>
<?php /*if ( $woo_options[ 'woo_post_content' ] == 'content' ) { the_content( __( 'Continue Reading &rarr;', 'woothemes' ) ); } else { the_excerpt(); } */ ?>
<?php edit_post_link( __( '{ Edit }', 'woothemes' ), '<span class="small">', '</span>' ); ?>
<div class="post-more">
<?php if ( $woo_options[ 'woo_post_content' ] == 'excerpt' ) { ?>
<span class="read-more"><a href="<?php the_permalink(); ?>" title="<?php esc_attr( __( 'Continue Reading &rarr;', 'woothemes' ) ); ?>"><?php _e( 'Continue Reading &rarr;', 'woothemes' ); ?></a></span>
<?php } ?>
</div><!-- .post-more -->
</div><!-- .entry -->
<?php woo_post_meta(); ?>
<div class="fix"></div>
</div><!-- /.post -->
</div><!-- /.entry -->
<div class="fix"></div>
</div><!-- /.post -->
<?php
} // End WHILE Loop
?> </div> <!-- posts -->
</div> <!-- post_container -->
<?php
} else {
?>

View File

@ -4,13 +4,15 @@
padding: 40px;
}
.tcp_product_container {
.tcp_product_container,
.post_container {
float: left;
width: 100%;
height: 590px;
}
.tcp_products_thumbs {
.tcp_products_thumbs,
.posts {
float: left;
width: 100%;
heigth: 100%;
@ -18,21 +20,22 @@
margin: 0 !important;
}
.tcp_products_thumbs div {
.tcp_products_thumbs div, .posts div {
float: left;
}
.tcp_products_thumbs a {
.tcp_products_thumbs a, .posts a {
display: table-cell;
text-align: center;
vertical-align: middle;
}
.tcp_products_thumbs img {
.tcp_products_thumbs img, .posts img {
vertical-align: middle;
}
/*\*//*/
* html .tcp_products_thumbs a {
* html .tcp_products_thumbs a,
* html .posts a {
display: block;
}
* html .tcp_products_thumbs span {
@ -55,7 +58,7 @@
.tcp_product_thumb {
.tcp_product_thumb, .post {
float: left;
overflow: hidden;
display: table-cell;
@ -64,7 +67,7 @@
width: 192px;
}
.tcp_product_thumb a {
.tcp_product_thumb a, .post a {
height: 196px;
width: 192px;
vertical-align: middle;
@ -72,7 +75,7 @@
cursor: pointer;
}
.tcp_product_thumb a img {
.tcp_product_thumb a img, .post a img {
padding: 0;
vertical-align: middle;
margin: 0 auto ! important;
@ -83,11 +86,11 @@
opacity: 0.5;
}
.tcp_product_thumb a:hover {
.tcp_product_thumb a:hover, .post a:hover {
background: #fff;
}
.tcp_product_thumb a:hover img {
.tcp_product_thumb a:hover img, .post a:hover img {
opacity: 1;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 891 B

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -58,7 +58,8 @@ $see_first_custom_area = isset( $instance['see_first_custom_area'] ) ? $instance
$see_second_custom_area = isset( $instance['see_second_custom_area'] ) ? $instance['see_second_custom_area'] : false;
$see_third_custom_area = isset( $instance['see_third_custom_area'] ) ? $instance['see_third_custom_area'] : false;
$thumb_size = array(185,185);
global $woo_options;
$thumb_size = array($woo_options['woo_thumb_w'],$woo_options['woo_thumb_h']);
while ( have_posts() ) :
the_post();

View File

@ -2,7 +2,7 @@
<?php global $woo_options; ?>
<div id="content" class="col-full">
<div id="main" class="col-right">
<div id="main" class="fullwidth">
<?php if ( $woo_options['woo_breadcrumbs_show'] == 'true' ) { ?>
<div id="breadcrumbs">
@ -14,7 +14,7 @@
<?php while ( have_posts() ) { the_post(); $count++; ?>
<div <?php post_class(); ?>>
<div class="post-date">
<span class="month"><?php the_time( 'M' ); ?></span>
<span class="day"><?php the_time( 'd' ); ?></span>

View File

@ -439,7 +439,7 @@ h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {text-de
margin: 0;
}
.post .video { margin-bottom:1.5em;}
.post .video { }
.archive_header { display: block; float: left; width: 100%; margin:0 0 30px; padding:0 0 10px; font-size: 18px; font-weight: bold; border-bottom:#3D3836 1px solid; }
.archive_header .catrss a { font-size: 14px; text-decoration: none; line-height: 28px; }
@ -452,7 +452,7 @@ h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {text-de
#intro a { font-weight: 400; border-bottom: 1px solid #329DD5; }
#intro a:hover { border-bottom: 1px solid #58C8FF; text-decoration: none; }
.post { margin: 0 0 2em; padding: 0 0 2em; border-bottom: 1px solid #3D3836; position: relative; }
.post { margin: 0; padding: 0; position: relative; }
.post .title, .page .title { font-family: sans-serif; position:relative; margin:0; padding: 2px 15px; font-size: 20px; letter-spacing: 1px; color:#181818; text-transform: uppercase; background-color: #7F7875;}
.post .title a:link, .post .title a:visited { color:#fff; }

View File

@ -25,7 +25,7 @@ Template Name: Blog
<!-- Post Starts -->
<div <?php post_class(); ?>>
<p>sakjassssssssssssssssssssssssssssssssssssssssssssssssssssssss</p>
<div class="post-date">
<span class="month"><?php the_time( 'M' ); ?></span>
<span class="day"><?php the_time( 'd' ); ?></span>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB