Compare commits
No commits in common. "a993369b64ca9a9a8fcb82cfca4366bd288b5ab9" and "c0dab68f920f0774e57456704cef653b1298d037" have entirely different histories.
a993369b64
...
c0dab68f92
10
home.php
10
home.php
|
@ -76,18 +76,10 @@
|
|||
else:
|
||||
if (is_page_child($post, 2)) :
|
||||
$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)) :
|
||||
$tipus = 'desc'; //descàrregues
|
||||
elseif (is_page_child($post, 74)) :
|
||||
$tipus = 'equip'; //equip
|
||||
elseif (is_page_child($post, 40378)) :
|
||||
$tipus = 'equip'; //equip
|
||||
$tipus = 'desc'; //equip
|
||||
else :
|
||||
$tipus = 'pag';
|
||||
endif;
|
||||
|
|
|
@ -21,7 +21,14 @@
|
|||
</div>
|
||||
<!--end Content-->
|
||||
|
||||
<?php //if(!is_home()) {
|
||||
//get_sidebar('secondary');} ?>
|
||||
|
||||
</div>
|
||||
<!--end Main-->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
14
loop.php
14
loop.php
|
@ -9,14 +9,14 @@
|
|||
|
||||
<?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?>
|
||||
<?php the_excerpt(); ?>
|
||||
<p class="meta"><span><?php the_time('d. F Y') ?> <?php _e( 'by', 'hangar' ); ?> <?php the_author() ?></span><br/>
|
||||
<p class="meta"><span><?php the_time('d. F Y') ?> <?php _e( 'by', 'hangar' ); ?> <?php the_author() ?></span><br/>
|
||||
<?php else : ?>
|
||||
<?php the_content( __( 'Continue Reading →', 'hangar' ) ); ?>
|
||||
<div class="clear"></div>
|
||||
|
||||
|
||||
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'hangar' ), 'after' => '</div>' ) ); ?>
|
||||
|
||||
<p class="meta"><span><?php the_time('d. F Y') ?> <?php _e( 'by', 'hangar' ); ?> <?php the_author() ?></span><br/>
|
||||
|
||||
<p class="meta"><span><?php the_time('d. F Y') ?> <?php _e( 'by', 'hangar' ); ?> <?php the_author() ?></span><br/>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( count( get_the_category() ) ) : ?>
|
||||
|
@ -30,13 +30,13 @@
|
|||
<?php printf( __( 'Tags: %2$s', 'hangar' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>
|
||||
|
|
||||
<?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 →', 'hangar' ), '| ', '' ); ?></p>
|
||||
</div>
|
||||
<!--end Post-->
|
||||
|
||||
<?php //comments_template( '', true ); ?>
|
||||
<?php comments_template( '', true ); ?>
|
||||
|
||||
<?php endwhile; // End the loop. ?>
|
||||
|
||||
|
|
74
page.php
74
page.php
|
@ -5,41 +5,55 @@
|
|||
<?php wp_breadcrumb();?>
|
||||
<div id="pagina" class="shadow">
|
||||
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
|
||||
<h2><?php the_title(); ?></h2>
|
||||
<!-- buscar el nom de l'artista i la data: metatgs -->
|
||||
<?php $tiporesid = get_post_meta($post->ID, 'autor_tipo_resid', true);
|
||||
if ($tiporesid) : ?>
|
||||
<p class="curt"><?php echo __($tiporesid); ?> </p>
|
||||
<?php endif;?>
|
||||
<?php $dataresid = get_post_meta($post->ID, 'autor_data_resid', true);
|
||||
if ($dataresid) : ?>
|
||||
<p class="curt"><?php echo __($dataresid); ?> </p>
|
||||
<?php endif;?>
|
||||
<?php $autorobra = get_post_meta($post->ID, 'autor_obra', true);
|
||||
if ($autorobra) : ?>
|
||||
<p class="blue curt"><?php echo $autorobra; ?> </p>
|
||||
<?php endif;?>
|
||||
<?php $dataobra = get_post_meta($post->ID, 'data_obra', true);
|
||||
if ($dataobra) : ?>
|
||||
<p class="peullarg"><?php echo $dataobra; ?> </p>
|
||||
<?php endif;?>
|
||||
<?php $carrec = get_post_meta($post->ID, 'carrec', true);
|
||||
if ($carrec) : ?>
|
||||
<p class="peullarg"><?php echo $carrec; ?> </p>
|
||||
<p class="curt"><?php echo get_post_meta($post->ID, 'telefon', true) ?> </p>
|
||||
<p class="peullarg"><?php echo get_post_meta($post->ID, 'email', true) ?> </p>
|
||||
<?php endif;?>
|
||||
|
||||
<?php the_content(); ?>
|
||||
<div class="clear"></div>
|
||||
<h2><?php the_title(); ?></h2>
|
||||
|
||||
<?php wp_link_pages( array( 'before' => '' . __( 'Pages:', 'hangar' ), 'after' => '' ) ); ?>
|
||||
<?php edit_post_link( __( 'Edit this page →', 'hangar' ), '', '' ); ?>
|
||||
|
||||
<!-- buscar el nom de l'artista i la data: metatgs -->
|
||||
<?php $tiporesid = get_post_meta($post->ID, 'autor_tipo_resid', true);
|
||||
if ($tiporesid) : ?>
|
||||
<p class="curt"><?php echo __($tiporesid); ?> </p>
|
||||
<?php endif;?>
|
||||
<?php $dataresid = get_post_meta($post->ID, 'autor_data_resid', true);
|
||||
if ($dataresid) : ?>
|
||||
<p class="curt"><?php echo __($dataresid); ?> </p>
|
||||
<?php endif;?>
|
||||
|
||||
<?php $autorobra = get_post_meta($post->ID, 'autor_obra', true);
|
||||
if ($autorobra) : ?>
|
||||
<p class="blue curt"><?php echo $autorobra; ?> </p>
|
||||
<?php endif;?>
|
||||
<?php $dataobra = get_post_meta($post->ID, 'data_obra', true);
|
||||
if ($dataobra) : ?>
|
||||
<p class="peullarg"><?php echo $dataobra; ?> </p>
|
||||
<?php endif;?>
|
||||
<?php $carrec = get_post_meta($post->ID, 'carrec', true);
|
||||
if ($carrec) : ?>
|
||||
<p class="peullarg"><?php echo $carrec; ?> </p>
|
||||
<p class="curt"><?php echo get_post_meta($post->ID, 'telefon', true) ?> </p>
|
||||
<p class="peullarg"><?php echo get_post_meta($post->ID, 'email', true) ?> </p>
|
||||
<?php endif;?>
|
||||
|
||||
<?php the_content(); ?>
|
||||
<div class="clear"></div>
|
||||
|
||||
<?php wp_link_pages( array( 'before' => '' . __( 'Pages:', 'hangar' ), 'after' => '' ) ); ?>
|
||||
<?php edit_post_link( __( 'Edit this page →', 'hangar' ), '', '' ); ?>
|
||||
|
||||
<?php // comments_template( '', true ); ?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
<!--<div id="navegacio" class="dins">
|
||||
<p class="previous"><?php previous_post_link( '%link', '' . _x( '← Previous Post', 'Previous post link', 'hangar' ) . '' ); ?></p>
|
||||
<p class="next"><?php next_post_link( '%link', __('') . _x( 'Next Post →', 'Next post link', 'hangar' ) . '' ); ?></p>
|
||||
</div>-->
|
||||
|
||||
</div>
|
||||
<!--end Page-->
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<!--end Content-->
|
||||
|
||||
|
@ -53,8 +67,12 @@
|
|||
hangar_show_extra_content();
|
||||
}
|
||||
?>
|
||||
|
||||
</div><!-- end indexall extra -->
|
||||
|
||||
|
||||
<?php //get_sidebar('secondary'); ?>
|
||||
|
||||
</div>
|
||||
<!--end Main-->
|
||||
|
||||
|
|
|
@ -677,9 +677,9 @@ ul.sidebar li.widget_sociallinks a.delicious {
|
|||
}
|
||||
#content .post p.meta, #content .page p.meta, #content p.meta {
|
||||
font-size:0.7rem;
|
||||
line-height:0.8rem;
|
||||
line-height:1rem;
|
||||
padding-bottom:0;
|
||||
min-height: 2rem;
|
||||
min-height: 1.5rem;
|
||||
}
|
||||
#content .post p.meta span, #content .page p.meta span, #content p.meta span {
|
||||
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 .contingut, .boxentry p.excerptbox { display:block; overflow:hidden;/*margin-bottom: 15px;*/ padding: 0;}
|
||||
.boxentry .curt, .boxentry p.excerptbox {max-height: 4.9rem; height: auto/*60px*/; font-size:11.5px;}
|
||||
.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 .mig {height: 195px;}
|
||||
.boxentry .llarg {height: 225px;}
|
||||
.boxentry .plus {height:327px;/*height: 331px;*/}
|
||||
|
|
Loading…
Reference in New Issue