Gavern Framework has a quite extensive files structure. It is similar to a standard structure of majority of the themes, however, because of many functionalities, there are some new elements.
The overall outline of files structure is presented below:
- theme’s catalog
It includes all basic files and catalogs for a theme. It is worth seeing that Custom Pages templats have a theme. prefix at the beginning of their names which helps to find them in files structure.
There are all CSS theme’s files in it. They are described in details in an entry about framework’s CSS code.
To have everything ordered, CSS files connected with an administration panel were placed in this catalog.
This catalog is used for storing files with additional fonts. You have to remember that each font must have its own catalog including a stylesheet.css file. More information about fonts service can be found in an entry about Fonts in an administration panel.
A catalog including the base of whole GavernWP framework work.
Files with supporting classes used in framework’s code.
Files including framework’s configuration. It has to be remembered that there are additional catalogs used for making transalations.
It includes a main file with a code which generates basic form elements in an administration panel, as well as, catalogs with elements created by a user.
A collection of classes connected with specific framework’s tasks, e.g. with generating layout fragments.
Files used for generating HTML code of an administration panel.
Files which store options of particular sections of theme’s administration panel. Similarly to config catalog; there are also additional catalogs used for making translations.
Graphic files used with a theme
Files connected with an administration panel.
Default header’s images.
Images connected with entries formats.
Likewise in css and images catalogs there are files included used in an administration panel.
Main files used for creating translations.
Files used for generating subpages; they include elements which are used very often; e.g. a head section.