tabbed properly to nest content

This commit is contained in:
jorge-vitrubio 2022-09-12 10:49:39 +02:00
parent fd85b2349a
commit 2252e3d684
1 changed files with 28 additions and 29 deletions

View File

@ -27,8 +27,8 @@
<h3 class="box <?php echo $tipus;?>"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'hangar' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title() ;?> </a> </h3>
<?php endif;?>
</div>
<?php if ($tipus == 'art') :
if(get_post_meta($post->ID, 'autor_tipo_resid', true) && get_post_meta($post->ID, 'autor_data_resid', true)): ?>
<?php if ($tipus == 'art') :?>
<?php if(get_post_meta($post->ID, 'autor_tipo_resid', true) && get_post_meta($post->ID, 'autor_data_resid', true)): ?>
<p class="meta box">
<?php echo __(get_post_meta($post->ID, 'autor_tipo_resid', true)) ?>
<br />
@ -42,9 +42,8 @@
<?php endif; ?>
<?php if ( has_post_thumbnail() ) : ?>
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" >
<?php //the_post_thumbnail('artists-thumb'); ?>
<?php the_post_thumbnail('thumbnail'); ?>
<?php the_post_thumbnail('artists-thumb'); ?>
<?php //the_post_thumbnail('thumbnail'); ?>
</a>
<?php else : ?>
<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';?>" />