I am trying to detect the k_page_title to display specific text in an H2 block. Not matter what I do it ignores the first if statement and still displays the <cms:show k_page_title /> in the first if statement and ignores the following if's. Am I missing something obvious here?
- Code: Select all
<h2> <cms:if k_page_title!='Eagles' || k_page_title!='Horses' || k_page_title!='Fountains'> <cms:show k_page_title /> <cms:else /> <cms:if k_page_title='Eagles'>Eagle <cms:else /> <cms:if k_page_title='Horses'>Horse <cms:else /> <cms:if k_page_title='Fountains'>Fountain </cms:if> </cms:if> </cms:if> </cms:if> Bronze Sculptures</h2>