Jake Vanderwerf
2026-02-14 85f32c02f80286094cc5230a30cd7ebbe77eae2d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
// /taxonomies/city.php
function ajv_city():array
{
    return [
        'singular'       => 'City',
        'plural'         => 'Cities',
        'icon'           => 'city',
        'description'    => [
            'From Edmonton, yes - but also throughout Alberta.'
        ],
        'show_feed'      => true,
        'show_directory' => true,
        'approve_new'    => false,
        'rewrite'        => [
            'slug'         => 'in',
            'with_front'   => false,
            'hierarchical' => true,
        ],
        'hierarchical'   => true,
        'for_content'    => [
            'art',
            'design',
            'development',
            'strategy',
            'writing',
        ],
        'seo' => [
            'schema' => [
                'type' => 'City',
                'name' => '{{term_name}}',
                'description' => '{{term_description}}',
                'containedInPlace' => '{{site_url}}/#organization',
            ],
            'meta' => [
                'title' => 'Projects in {{term_name}} | JakeVan',
                'description' => 'Art, design, development, and strategy projects in {{term_name}}.',
            ],
            'archive' => [
                'type' => 'CollectionPage',
                'name' => 'Projects in {{term_name}}',
            ],
        ],
        'fields'         => [
            'term_name' => [
                'label'     => 'Name',
                'type'      => 'text',
                'quickEdit' => true,
            ],
            'common'    => [ 'wiki' ]
        ]
    ];
}