only shows content if a category is requested by URL

Checks if the user requested a category. If not, Loudblog doesn’t show the content between the opening and closing tag.

Simple usage

Some content goes here



If you don’t assign a category-attribute, Loudblog will show the content if ANY category is requested by URL. Otherwise it will check if the URL-category matches the assigned category-attribute.

<lb:if_category category="hiphop">
<h2>You’re at the Hip-Hop Channel, word!</h2>

Say category="false" to show the content only if there is no current category set (e.g. on the home page of your website or on a posting without a category defined)