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
| <?php
| // /taxonomies/progress.php
| function ajv_progress():array
| {
| return [
| 'singular' => 'Progress',
| 'plural' => 'Progress',
| 'icon' => 'circle-notch',
| 'show_feed' => true,
| 'show_directory' => true,
| 'approve_new' => false,
| 'rewrite' => [
| 'slug' => 'progress',
| 'with_front' => false,
| 'hierarchical' => true,
| ],
| 'hierarchical' => true,
| 'for_content' => [
| 'art',
| 'design',
| 'development',
| 'strategy',
| 'writing',
| ],
| 'seo' => [
| 'meta' => [
| 'title' => '{{term_name}} Projects | JakeVan',
| ],
| 'archive' => [
| 'type' => 'CollectionPage',
| 'name' => '{{term_name}} Projects',
| ],
| ],
| 'fields' => [
| 'term_name' => [
| 'label' => 'Name',
| 'type' => 'text',
| 'quickEdit' => true,
| ],
| 'common' => [ 'wiki' ]
| ]
| ];
| }
|
|