added cases for tipus artistes, equip in homepage, wasn't up to date

This commit is contained in:
jorge-vitrubio 2022-09-27 10:18:26 +02:00
parent c0dab68f92
commit 8096d40f15
1 changed files with 9 additions and 1 deletions

View File

@ -76,10 +76,18 @@
else: else:
if (is_page_child($post, 2)) : if (is_page_child($post, 2)) :
$tipus = 'art'; //artistes $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)) : elseif (is_page_child($post, 136)) :
$tipus = 'desc'; //descàrregues $tipus = 'desc'; //descàrregues
elseif (is_page_child($post, 74)) : elseif (is_page_child($post, 74)) :
$tipus = 'desc'; //equip $tipus = 'equip'; //equip
elseif (is_page_child($post, 40378)) :
$tipus = 'equip'; //equip
else : else :
$tipus = 'pag'; $tipus = 'pag';
endif; endif;