Config.php is a project specific file that exists at theme/granola/config.php. The config file allows for quick customisations and theme settings to be made, including but not limited to:

  • Adding new menus
  • Enabling jQuery as a dependency
  • Enabling lazyloading
  • Adding image sizes
  • Adding ACF option pages

It is recommended that constants and global variables be placed in this file for consistency.