ℹ️
Welcome to the archive of the old FlatPress support forum. Browse more than a decade of FlatPress wisdom! Login is disabled.

The current FlatPress support forum is available here: forum.flatpress.org
Theme.conf.php usage
  • As I'm working on a new theme I was trying to understand once for all the usage of the files theme.conf.php and style.conf.php. So, if the information shown in the theme panel are taken from the commented part, what's the meaning of the arrays $theme[] and $style[]? What infos can be put there, and where are these infos used?
  • the only relevant ones are * version : version of the theme engine. Matches the version of FlatPress. Currently > 0.705 means you support styles; if version <= 0.704 (IIRC) then the theme does not support styles; * default_style : name of the default style (these IIRC should be needed only if ver <= 0.704, otherwise they belong to style.conf.php) * style_def : file name of the default CSS in current style (usually style.css) * style_admin : file name of CSS for the admin panel * style_print : (optional) file name of the CSS for media=print
This discussion has been closed.
All Discussions
Start a New Discussion

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion