changes if and elseif not beign properly applied

This commit is contained in:
jorge 2022-09-12 10:50:06 +02:00
parent 2252e3d684
commit cff43e2bef
1 changed files with 3 additions and 1 deletions

View File

@ -63,7 +63,9 @@ 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
if ($pare == 2 ) : //artistes residents post=2
$tipus = 'art';
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';