advanced code snippet search
ryarwood on 01/30/12
category ExpressionEngine channel
01/30/12 08:47am
{exp:channel:categories show_empty="yes" channel="blog" style="linear"}<li>{if last_segment == 'fr'}<a href="{path='blog/category'}/fr/">{category_name}</a>{if:else}<a href="{path='blog/category'}">{category_name}</a>{/if}</li>{/exp:channel:categories}
Report this snippet Tweet
Comment:
You need to login to post a comment.