Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

What's the template tag for Categories? (or how to place them in the header).

I would like to list the categories in the header. What's the template tag to place them there?
Tagged:

Best Answer

  • ToddTodd Chief Product Officer Vanilla Staff
    edited June 2011 Answer ✓
    The categories are a module so you can do the following:
    echo Gdn_Theme::Module('CategoriesModule');
    or
    {module name="CategoriesModule"}
    The second syntax is for smarty templates.

Answers

  • ToddTodd Chief Product Officer Vanilla Staff
    edited June 2011 Answer ✓
    The categories are a module so you can do the following:
    echo Gdn_Theme::Module('CategoriesModule');
    or
    {module name="CategoriesModule"}
    The second syntax is for smarty templates.
Sign In or Register to comment.