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
BIN
información/Curiosidades/1.jpg
Normal file
|
After Width: | Height: | Size: 105 KiB |
BIN
información/Curiosidades/10.jpg
Normal file
|
After Width: | Height: | Size: 108 KiB |
BIN
información/Curiosidades/11.jpg
Normal file
|
After Width: | Height: | Size: 113 KiB |
BIN
información/Curiosidades/12.jpg
Normal file
|
After Width: | Height: | Size: 109 KiB |
BIN
información/Curiosidades/2.jpg
Normal file
|
After Width: | Height: | Size: 113 KiB |
BIN
información/Curiosidades/3.jpg
Normal file
|
After Width: | Height: | Size: 112 KiB |
BIN
información/Curiosidades/4.jpg
Normal file
|
After Width: | Height: | Size: 136 KiB |
BIN
información/Curiosidades/5.jpg
Normal file
|
After Width: | Height: | Size: 109 KiB |
BIN
información/Curiosidades/6.jpg
Normal file
|
After Width: | Height: | Size: 95 KiB |
BIN
información/Curiosidades/7.jpg
Normal file
|
After Width: | Height: | Size: 95 KiB |
BIN
información/Curiosidades/8.jpg
Normal file
|
After Width: | Height: | Size: 98 KiB |
BIN
información/Curiosidades/9.jpg
Normal file
|
After Width: | Height: | Size: 103 KiB |
BIN
información/favicon.ico
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
@ -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 →', 'woothemes' ) ); } else { the_excerpt(); } ?>
|
||||
<?php /*if ( $woo_options[ 'woo_post_content' ] == 'content' ) { the_content( __( 'Continue Reading →', '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 →', 'woothemes' ) ); ?>"><?php _e( 'Continue Reading →', '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 {
|
||||
?>
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 891 B After Width: | Height: | Size: 1.3 KiB |
@ -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();
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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; }
|
||||
|
||||
@ -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>
|
||||
|
||||
BIN
src/wp-content/uploads/2011/06/favicon.ico
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
src/wp-content/uploads/2011/07/1-150x150.jpg
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
src/wp-content/uploads/2011/07/1-185x185.jpg
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
src/wp-content/uploads/2011/07/1-300x197.jpg
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
src/wp-content/uploads/2011/07/1-45x29.jpg
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
src/wp-content/uploads/2011/07/1-95x62.jpg
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
src/wp-content/uploads/2011/07/1.jpg
Normal file
|
After Width: | Height: | Size: 105 KiB |
BIN
src/wp-content/uploads/2011/07/2-150x150.jpg
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
src/wp-content/uploads/2011/07/2-185x185.jpg
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
src/wp-content/uploads/2011/07/2-300x211.jpg
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
src/wp-content/uploads/2011/07/2-45x31.jpg
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
src/wp-content/uploads/2011/07/2-95x66.jpg
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
src/wp-content/uploads/2011/07/2.jpg
Normal file
|
After Width: | Height: | Size: 113 KiB |