GavickPro Documentation

Learn about the GavernWP WordPress framework’s theme structure

Every theme’s subpage in GavernWP is created based upon one file from the theme’s main catalog, e.g. single.php, and at least four additional files from the layouts catalog:

The above-mentioned files with a file selected from the main catalog work together to establish a basic structure for each page. The remaining elements are generated by additional files or functions. The majority of such files can be found in the layouts catalog (files with such names as “content.post.*.php” include constituents of each post. Use of these files reduces the amount of code required in the theme’s main files and simplifies changes. For example, a footer entry only requires modification to one or two files.

Functions used to generate additional information displayed in posts are located in the in gavern/helpers/helpers.layout.fragments.php file.

Learn about the GavernWP WordPress framework’s theme structure 5.005 (100.00%) 1 vote