Files
chaffe-theme/config.php
2025-05-06 10:00:04 -07:00

92 lines
1.8 KiB
PHP

<?php
return [
"debug" => true,
/**
* excerpt-length
*
* how many words should the wordpress excerpt be
*/
"excerpt-length" => 100,
/**
* guest-class
*
* if you want wordpress to automatically append a class to the body_class
* list when users are not authenticated, put that class name here. it
* defaults to "guest"
*/
"guest-class" => "guest",
/**
* menu-locations
*
* register your individual menu locations here
*/
"menu-locations" => [
"main-nav" => "Main Navigation",
"footer-nav" => "Footer Navigation",
],
/**
* custom-post-types
*
* here is where you can define your custom post types easily
*/
"custom-post-types" => [
[
"slug" => "team-member",
"archive" => "true",
"options" => [
"supports" => ["thumbnail", "title", "editor"]
],
"options-pages" => "team-members-archive-settings",
]
],
/**
* handlebars
*
* We use handlebars templating extensivly in this theme and code pattern.
* You can adjust the defaults for many attributes here.
*
* Set this to `false` to disable handlebars functionality completely
*/
"handlebars" => [
"additional-helpers" => [
"formatDate" => \Helpers\DateFormatter::monthDayYear(),
],
],
/**
* enable
*
* enable individual wordpress features here
*/
"enable" => [
"post-thumbnails",
"menus",
],
/**
* disable
*
* disable individual wordpress features here
*/
"disable" => [
"editor",
"gutenberg",
"customizer",
"emojis",
"meta-generator",
"patterns",
],
];