view/theme
directory, where the subdirectory name is the name/slug of the theme.php/theme.php
within the theme directory with a comment containing the fields to describe the theme. If this file is not present, the default info for that theme is returned by the get_theme_info
function.theme_init.php
at an appropriate location within the theme subdirectory. (See below.) This can be empty, but can also be used to initialize the theme further, e.g adding fonts, styles, etc as needed.php/style.php
or a css/style.css
file within the theme directory. If the php file is present it will be used, otherwise the static css is..js
extension, it is added to the javascripts loaded by Hubzilla.mod_{$module}.php
where {$module}
is the requested module (i.e the first URL path after ), it will be loaded by Hubzilla.mod_{$module}.css
, and mod_{$module}.js
.experimental
the theme is marked as experimental.unsupported
the theme is marked as unsupported.img/screenshot.{png,jpg}
within the theme subdirectory, it will be used as the screenshot of the theme (not sure if/where this is used). Otherwise the default blank.png
will be used.view/site
directory, or the view
directory itself.theme_include
helper function to load or add these files.