The “about.php” file
Each theme has an about.php file that contains some important information for Vanilla. Put this file in your theme root.
Here’s a sample file:
$ThemeInfo['ExampleTheme'] = [
'Name' => "Example Theme",
'Description' => "Custom theme example",
'Version' => '1.0.0',
'Author' => "Stéphane LaFlèche",
'AuthorEmail' => 'firstname.lastname@example.org',
'AuthorUrl' => 'www.vanillaforums.com',
'License' => 'Proprietary',
'Layout' => [
'Discussions' => 'table',
'Categories' => 'modern',
It’s important to put a unique key here for your theme. A common mistake is to copy another theme and then forget to edit the about.php file. This key is how Vanilla identifies your theme internally.
The name will appear in the theme selection page.
Short description of your theme. Will also appear in theme selection page.
Version of the theme. The cache is tied to this version. If you ever run into an issue with the cache, you can try to bump up this version number.
Author of the theme
Email of the author
License of the theme.
This is an optional property that tells Vanilla which views the theme was meant to use. Sometimes custom themes only work with a specific view. Keep in mind that this will not block an admin from changing the views, but it will give them a warning in the dashboard.
Layouts for Discussions:
Layouts for categories:
If you’ve got Vanilla Cloud, make sure to also set your theme’s visibility.
The about.php file also supports Theme Options.
We believe that online communities should be intuitive, engaging and true to your brand. Vanilla allows you to create a customized community that rewards positive participation, automatically curates content and lets members drive moderation.
Learn More …