applied same caixes selection from seccions to seccions-wide

This commit is contained in:
jorge-vitrubio 2022-09-19 15:42:18 +02:00
parent 6f117f1731
commit a0c3846ddd
1 changed files with 19 additions and 15 deletions

View File

@ -55,22 +55,26 @@ get_header(); ?>
?>
<?php if ($indexseccions->have_posts()) : ?>
<?php echo '<ul>'; $i = 0; while ($indexseccions->have_posts()) : $indexseccions->the_post(); $i++;
if ($pare == 2 | 58856) : //artistes residents post=2 post=58856 por cambio página el 2022 07 19
$tipus = 'art';
elseif ($pare == 46565) : //artistes residents estada curta post=46565
<?php echo '<ul>'; $i = 0; while ($indexseccions->have_posts()) : $indexseccions->the_post(); $i++;
if ($pare == 2 ) : //artistes residents post=2
$tipus = 'art';
elseif ($pare == 46572) : //artistes amb beca post=46572
$tipus = 'art';
elseif ($pare == 136) : //desc+arregues post=136
$tipus = 'desc';
elseif ($pare == 74) : //equip post=74
$tipus = 'equip';
elseif ($pare == 40378) : //patronat post=40378
$tipus = 'equip';
else:
$tipus = 'pag';
endif;
elseif ($pare == 58856) : //artistes residents post=58856 por cambio página el 2022 07 19
$tipus = 'art';
elseif ($pare == 46565) : //artistes residents estada curta post=46565
$tipus = 'art';
elseif ($pare == 46572) : //artistes amb beca post=46572
$tipus = 'art';
elseif ($pare == 58844) : //artistes internacionals post=58844
$tipus = 'art';
elseif ($pare == 136) : //desc+arregues post=136
$tipus = 'desc';
elseif ($pare == 74) : //equip post=74
$tipus = 'equip';
elseif ($pare == 40378) : //patronat post=40378
$tipus = 'equip';
else:
$tipus = 'pag';
endif;
?>
<?php include(TEMPLATEPATH . "/caixes.php"); ?>