Jake Vanderwerf
2026-02-14 85f32c02f80286094cc5230a30cd7ebbe77eae2d
content/strategy.php
@@ -7,6 +7,9 @@
        'plural'       => 'Strategies',
        'hide_single'  => false,
        'redirectToAuthor'=> false,
        'show_directory'=> true,
        'directory' => 'Strategy',
        'addCrumb'      => 'project',
        'show_feed'    => true,
        'favouritable' => true,
        'karma'        => false,
@@ -15,18 +18,85 @@
            'slug'       => 'strategy',
            'with_front' => false,
        ],
        'seo' => [
            'schema' => [
                'type' => 'CreativeWork',
                'name' => '{{post_title}}',
                'description' => '{{post_excerpt}}',
                'about' => ['@id' => '{{site_url}}/#strategy'],
                'associatedMedia' => '{{post_thumbnail}}',
                'dateCreated' => '{{post_date}}',
            ],
            'meta' => [
                'title' => '{{post_title}} | Brand Strategy in Canada',
                'description' => '{{post_excerpt}}',
            ],
            'archive' => [
                'type' => 'CollectionPage',
                'name' => 'Brand Strategy in Canada. Made in Edmonton, Alberta.',
            ],
        ],
        'feed'      => [
            'single'    => [
                'pre_title' => 'Brand Strategy in Canada. Made in Edmonton, Alberta.',
            ],
            'archive'   => [
            ],
            'config'    => [
                'is_gallery'    => false,
                'content'       => 'strategy',
                'context'       => 'strategy',
                'id'            => [],
                'class'         => [],
            ]
        ],
        'fields'       => [
            'post_status'         => [
                'type'      => 'radio',
                'label'     => 'Status',
                'options'   => [
                    'publish'   => 'Show',
                    'draft'     => 'Hide',
                    'trash'     => 'Scrap',
                    'delete'    => 'Permanently Delete'
                ],
                'hidden'    => true,
            ],
            'post_date'  => [
                'type'      => 'date',
                'label'     => 'Date',
            ],
            'post_title'     => [
                'type'  => 'text',
                'label' => 'Title',
            ],
            'featured_image' => [
                'type'  => 'image',
            'post_thumbnail' => [
                'type'  => 'upload',
                'label' => 'Image',
            ],
            'project'  => [
                'type'  => 'taxonomy',
                'taxonomy'  => 'project',
                'autocomplete'  => true,
                'label' => 'Project',
            ],
            'target'  => [
                'type'  => 'taxonomy',
                'taxonomy'  => 'target',
                'autocomplete'  => true,
                'label' => 'Target Audience',
            ],
            'city'  => [
                'type'  => 'taxonomy',
                'autocomplete'  => true,
                'taxonomy'  => 'city',
                'label' => 'City',
            ],
            'gallery'        => [
                'type'  => 'gallery',
                'label' => 'Gallery',
                'type'      => 'upload',
                'multiple'  => true,
                'label'     => 'Gallery',
            ],
            'price'          => [
                'type'  => 'number',
@@ -36,9 +106,53 @@
                'type'  => 'textarea',
                'quill' => true,
                'label' => 'Notes'
            ]
            ],
            'needs' => [
                'type'  => 'repeater',
                'label' => 'Needs',
                'fields'=> [
                    'need' => [
                        'type' => 'text',
                        'label' => 'Need',
                        'required' => true
                    ],
                    'image' => [
                        'type'  => 'upload',
                        'multiple' => true,
                        'label' => 'Example Image'
                    ],
                    'fulfilled' => [
                        'type'  => 'textarea',
                        'quill' => true,
                        'label' => 'How I fulfilled it'
                    ]
                ]
            ],
            'wants' => [
                'type'  => 'repeater',
                'label' => 'Wants',
                'fields'=> [
                    'need' => [
                        'type' => 'text',
                        'label' => 'Want',
                        'required' => true
                    ],
                    'image' => [
                        'type'  => 'upload',
                        'multiple' => true,
                        'label' => 'Example Image'
                    ],
                    'fulfilled' => [
                        'type'  => 'textarea',
                        'quill' => true,
                        'label' => 'How I fulfilled it'
                    ]
                ]
            ],
        ],
        'single_image' => false,
        'upload_title' => 'Upload Artwork',
        'upload_title' => 'Upload Strategies',
    ];
}