added same div and p nesting in all cases
This commit is contained in:
parent
b71871a0c7
commit
65e001e1c1
|
@ -41,12 +41,16 @@
|
||||||
<p class="meta box"><?php echo get_post_meta($post->ID, 'data_obra', true) ?></p>
|
<p class="meta box"><?php echo get_post_meta($post->ID, 'data_obra', true) ?></p>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if ( has_post_thumbnail() ) : ?>
|
<?php if ( has_post_thumbnail() ) : ?>
|
||||||
|
<div class="contingut">
|
||||||
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" >
|
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" >
|
||||||
<?php the_post_thumbnail('artists-thumb'); ?>
|
<?php the_post_thumbnail('artists-thumb'); ?>
|
||||||
<?php //the_post_thumbnail('thumbnail'); ?>
|
<?php //the_post_thumbnail('thumbnail'); ?>
|
||||||
</a>
|
</a>
|
||||||
|
</div>
|
||||||
<?php else : ?>
|
<?php else : ?>
|
||||||
|
<div class="contingut">
|
||||||
<img class="noimatge gran" width="200" height="230" title="imatge no disponible" alt="imatge no disponible" src="<?php echo get_template_directory_uri() .'/images/noimatgegran.jpg';?>" />
|
<img class="noimatge gran" width="200" height="230" title="imatge no disponible" alt="imatge no disponible" src="<?php echo get_template_directory_uri() .'/images/noimatgegran.jpg';?>" />
|
||||||
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<div class="boxpeu" >
|
<div class="boxpeu" >
|
||||||
|
@ -195,7 +199,9 @@
|
||||||
?>
|
?>
|
||||||
</p>
|
</p>
|
||||||
<?php else :?>
|
<?php else :?>
|
||||||
<div class="contingut curt"><?php echo custom_wp_trim_excerpt(); ?></div>
|
<div class="contingut curt">
|
||||||
|
<?php echo custom_wp_trim_excerpt(); ?>
|
||||||
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<div class="boxpeu" >
|
<div class="boxpeu" >
|
||||||
|
|
Loading…
Reference in New Issue