Created
September 10, 2014 23:24
-
-
Save franzos/a889451e42e3ee60576e to your computer and use it in GitHub Desktop.
ExpressionEngine Conditionals: if:elseif
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{categories} | |
{if voice_talent_headshot:thumb80 *= "http"} | |
{voice_talent_headshot:thumb80} | |
{if:elseif category_id == '4'} | |
{assets}/images/headshot-man.png | |
{if:else} | |
{assets}/images/headshot-woman.png | |
{/if} | |
{/categories} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment