Hello, Im trying to utilise a generic template that displays info from posts. The majority of the content displayed is via the post along with some static content.
What I would like to achieve is display different notes based on category.
Below is what I have tried but it displays a PHP error when trying to render:-
{if category_group="30"}
Content that relates to this category
{if:else}
Generic content which relates to the rest of the categories
{if}Any idea what I’m doing wrong here?
Your help would be greatly appreciated.
PS I know the simple solution would’ve been to include a field within the channel entries, however this is additional content that needs adding (and has since been decided after the build) and there are nearly 2000 entries, meaning manually amending each one ;(