This commit is contained in:
David Arranz 2011-05-31 10:01:44 +00:00
parent 292386c229
commit 00f054d3c4
7 changed files with 19 additions and 26 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
información/fondo-gris.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

View File

@ -18,7 +18,9 @@
/* Header */ /* Header */
#header-right { #header-right {
width: 490px; width: 550px;
padding-left:0;
padding-right:20px;
background: #fff; background: #fff;
} }
@ -40,6 +42,10 @@
/* Navigation */ /* Navigation */
.nav a {
padding: 10px 8px;
}
#navigation-top { #navigation-top {
margin-bottom: 28px; margin-bottom: 28px;
} }
@ -63,13 +69,17 @@
} }
#navigation .nav li a { #navigation .nav li a {
font-size: 26px; font-size: 25px;
} }
#navigation .nav li a:hover { #navigation .nav li a:hover {
background: none; background: none;
} }
#navigation .nav li ul li a {
font-size: 21px;
}
/* Slider */ /* Slider */
#slides.slides .slide-content { #slides.slides .slide-content {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 751 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 762 B

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -1,44 +1,27 @@
<?php <?php/*Template Name: Image Gallery*/?>
/* <?php get_header(); ?>
Template Name: Image Gallery <div id="content" class="page col-full"> <div id="main" class="col-right">
*/
?>
<?php get_header(); ?>
<div id="content" class="page col-full">
<div id="main" class="col-right">
<?php if ( $woo_options[ 'woo_breadcrumbs_show' ] == 'true' ) { ?> <?php if ( $woo_options[ 'woo_breadcrumbs_show' ] == 'true' ) { ?>
<div id="breadcrumbs"> <div id="breadcrumbs">
<?php woo_breadcrumbs(); ?> <?php woo_breadcrumbs(); ?>
</div><!--/#breadcrumbs --> </div><!--/#breadcrumbs -->
<?php } ?> <?php } ?> <div <?php post_class(); ?>> <h1 class="title"><?php the_title(); ?></h1> <?php
<div <?php post_class(); ?>>
<h1 class="title"><?php the_title(); ?></h1>
<?php
if ( have_posts() ) { if ( have_posts() ) {
the_post(); the_post();
the_content(); the_content();
} }
?> ?>
<?php <?php
$custom_fields = get_post_custom($post_id); $custom_fields = get_post_custom($post_id);
if (array_key_exists('id_category', $custom_fields)) { if (array_key_exists('id_category', $custom_fields)) {
$categories = get_categories(array('child_of' => $custom_fields['id_category'][0])); $categories = get_categories(array('child_of' => $custom_fields['id_category'][0])); $categories[] = get_category($custom_fields['id_category'][0]);
} else { } else {
$categories = get_categories(); $categories = get_categories();
} }
foreach ($categories as $category) {?> foreach ($categories as $category) {?>
<div class="entry"> <div class="entry">
<h2><?php echo $category->cat_name; ?></h2> <?php if (count($categories) > 1) {?> <h2><?php echo $category->cat_name; ?></h2> <?php } ?>
<?php <?php
$query = 'showposts=60&orderby=title&order=ASC'; $query = 'showposts=60&orderby=title&order=ASC';
$query .= '&cat=' . $category->cat_ID; $query .= '&cat=' . $category->cat_ID;