I have the following code:

        <div class="profile">
            {if member_group == "Super Admins"}You are a Super Admin{/if}

Member group is being displayed correctly, but it doesn't work in conditional. I would appreciate if anyone can explain what I'm doing wrong or how else to add a member group specific content.

1 Answer 1


OK I've figured it out, so {member_group} displays the name of the member group, but placed in conditional it requires an ID of the member group. Works now!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.