Compare commits

..

5 Commits

5 changed files with 48 additions and 65 deletions

View File

@ -76,10 +76,18 @@
else: else:
if (is_page_child($post, 2)) : if (is_page_child($post, 2)) :
$tipus = 'art'; //artistes $tipus = 'art'; //artistes
elseif (is_page_child($post, 58856)) :
$tipus = 'art'; //artistes
elseif (is_page_child($post, 46565)) :
$tipus = 'art'; //artistes
elseif (is_page_child($post, 46572)) :
$tipus = 'art'; //artistes
elseif (is_page_child($post, 136)) : elseif (is_page_child($post, 136)) :
$tipus = 'desc'; //descàrregues $tipus = 'desc'; //descàrregues
elseif (is_page_child($post, 74)) : elseif (is_page_child($post, 74)) :
$tipus = 'desc'; //equip $tipus = 'equip'; //equip
elseif (is_page_child($post, 40378)) :
$tipus = 'equip'; //equip
else : else :
$tipus = 'pag'; $tipus = 'pag';
endif; endif;

View File

@ -21,14 +21,7 @@
</div> </div>
<!--end Content--> <!--end Content-->
<?php //if(!is_home()) {
//get_sidebar('secondary');} ?>
</div> </div>
<!--end Main--> <!--end Main-->
<?php get_footer(); ?> <?php get_footer(); ?>

View File

@ -31,12 +31,12 @@
| |
<?php endif; ?> <?php endif; ?>
<?php comments_popup_link( __( 'Leave a comment', 'hangar' ), __( '1 comment', 'hangar' ), __( '% comments', 'hangar' ) ); ?> <?php //comments_popup_link( __( 'Leave a comment', 'hangar' ), __( '1 comment', 'hangar' ), __( '% comments', 'hangar' ) ); ?>
<?php edit_post_link( __( 'Edit &rarr;', 'hangar' ), '| ', '' ); ?></p> <?php edit_post_link( __( 'Edit &rarr;', 'hangar' ), '| ', '' ); ?></p>
</div> </div>
<!--end Post--> <!--end Post-->
<?php comments_template( '', true ); ?> <?php //comments_template( '', true ); ?>
<?php endwhile; // End the loop. ?> <?php endwhile; // End the loop. ?>

View File

@ -5,10 +5,7 @@
<?php wp_breadcrumb();?> <?php wp_breadcrumb();?>
<div id="pagina" class="shadow"> <div id="pagina" class="shadow">
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<h2><?php the_title(); ?></h2> <h2><?php the_title(); ?></h2>
<!-- buscar el nom de l'artista i la data: metatgs --> <!-- buscar el nom de l'artista i la data: metatgs -->
<?php $tiporesid = get_post_meta($post->ID, 'autor_tipo_resid', true); <?php $tiporesid = get_post_meta($post->ID, 'autor_tipo_resid', true);
if ($tiporesid) : ?> if ($tiporesid) : ?>
@ -18,7 +15,6 @@
if ($dataresid) : ?> if ($dataresid) : ?>
<p class="curt"><?php echo __($dataresid); ?> </p> <p class="curt"><?php echo __($dataresid); ?> </p>
<?php endif;?> <?php endif;?>
<?php $autorobra = get_post_meta($post->ID, 'autor_obra', true); <?php $autorobra = get_post_meta($post->ID, 'autor_obra', true);
if ($autorobra) : ?> if ($autorobra) : ?>
<p class="blue curt"><?php echo $autorobra; ?> </p> <p class="blue curt"><?php echo $autorobra; ?> </p>
@ -40,20 +36,10 @@
<?php wp_link_pages( array( 'before' => '' . __( 'Pages:', 'hangar' ), 'after' => '' ) ); ?> <?php wp_link_pages( array( 'before' => '' . __( 'Pages:', 'hangar' ), 'after' => '' ) ); ?>
<?php edit_post_link( __( 'Edit this page &rarr;', 'hangar' ), '', '' ); ?> <?php edit_post_link( __( 'Edit this page &rarr;', 'hangar' ), '', '' ); ?>
<?php // comments_template( '', true ); ?>
<?php endwhile; ?> <?php endwhile; ?>
<!--<div id="navegacio" class="dins">
<p class="previous"><?php previous_post_link( '%link', '' . _x( '&larr; Previous Post', 'Previous post link', 'hangar' ) . '' ); ?></p>
<p class="next"><?php next_post_link( '%link', __('') . _x( 'Next Post &rarr;', 'Next post link', 'hangar' ) . '' ); ?></p>
</div>-->
</div> </div>
<!--end Page--> <!--end Page-->
</div> </div>
<!--end Content--> <!--end Content-->
@ -67,12 +53,8 @@
hangar_show_extra_content(); hangar_show_extra_content();
} }
?> ?>
</div><!-- end indexall extra --> </div><!-- end indexall extra -->
<?php //get_sidebar('secondary'); ?>
</div> </div>
<!--end Main--> <!--end Main-->

View File

@ -677,9 +677,9 @@ ul.sidebar li.widget_sociallinks a.delicious {
} }
#content .post p.meta, #content .page p.meta, #content p.meta { #content .post p.meta, #content .page p.meta, #content p.meta {
font-size:0.7rem; font-size:0.7rem;
line-height:1rem; line-height:0.8rem;
padding-bottom:0; padding-bottom:0;
min-height: 1.5rem; min-height: 2rem;
} }
#content .post p.meta span, #content .page p.meta span, #content p.meta span { #content .post p.meta span, #content .page p.meta span, #content p.meta span {
padding:0px 0px 0px 0px; padding:0px 0px 0px 0px;
@ -793,8 +793,8 @@ span.cat a{text-transform: uppercase; letter-spacing:normal}
.boxentry img.attachment-artists-thumb, .boxentry img.gran {margin-bottom:11.5px!important;} .boxentry img.attachment-artists-thumb, .boxentry img.gran {margin-bottom:11.5px!important;}
.boxentry .contingut, .boxentry p.excerptbox { display:block; overflow:hidden;margin-bottom: 15px; padding: 0;} .boxentry .contingut, .boxentry p.excerptbox { display:block; overflow:hidden;/*margin-bottom: 15px;*/ padding: 0;}
.boxentry .curt, .boxentry p.excerptbox {max-height: 5.6rem; height: auto/*60px*/; font-size:11.5px;} .boxentry .curt, .boxentry p.excerptbox {max-height: 4.9rem; height: auto/*60px*/; font-size:11.5px;}
.boxentry .mig {height: 195px;} .boxentry .mig {height: 195px;}
.boxentry .llarg {height: 225px;} .boxentry .llarg {height: 225px;}
.boxentry .plus {height:327px;/*height: 331px;*/} .boxentry .plus {height:327px;/*height: 331px;*/}