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.- css
There are all CSS theme’s files in it. They are described in details in an entry about framework’s CSS code.
- back-end
To have everything ordered, CSS files connected with an administration panel were placed in this catalog.
- font-awesome
Awesome font directory contain full suite of Retina ready pictographic icons.
- back-end
- fonts
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.
- gavern
A catalog including the base of whole GavernWP framework work.
- cache_nsp
Cached files from GK News Show Pro widget. - classes
Files with supporting classes used in framework’s code.
- config
Files including framework’s configuration. It has to be remembered that there are additional catalogs used for making transalations.
- demo
It includes a file used to generate demo content based on widgets. - form_elements
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.
- helpers
A collection of classes connected with specific framework’s tasks, e.g. with generating layout fragments.
- layouts
Files used for generating HTML code of an administration panel.
- options
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.
- cache_nsp
- images
Graphic files used with a theme
- back-end
Files connected with an administration panel.
- demo
Images connected with demo content.
- post_formats
Images connected with entries formats.
- back-end
- js
JavaScript scripts files used in a thme
- back-end
Likewise in css and images catalogs there are files included used in an administration panel.
- templates
Additional JavaScript files used by some Custom Pages.
- widgets
JavaScript files used by GK Widgets.
- back-end
- languages
Main files used for creating translations.
- layouts
Files used for generating subpages; they include elements which are used very often; e.g. a head section.
- css