<?php

return [
    "debug" => true,
    "flex-file-prefix" => "flex",

    /**
     * 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",
    ],

    "excerpt_more_text" => "&hellip;",

    /**
     * disable
     *
     * disable individual wordpress features here
     */
    "disable" => [
        "editor",
        "gutenberg",
        "customizer",
        "emojis",
        "meta-generator",
        "patterns",
    ],
];
