'Project', 'plural' => 'Projects', 'icon' => 'cards-three', 'show_feed' => true, 'show_directory' => true, 'approve_new' => false, 'rewrite' => [ 'slug' => 'projects', 'with_front' => false, 'hierarchical' => true, ], 'hierarchical' => true, 'for_content' => [ 'art', 'design', 'development', 'strategy', 'writing', ], 'seo' => [ 'schema' => [ 'type' => 'CreativeWork', 'name' => '{{term_name}}', 'description' => '{{term_description}}', 'dateCreated' => '{{started}}', 'keywords' => '{{target.name}}', ], 'meta' => [ 'title' => '{{term_name}} | Project by JakeVan', 'description' => '{{term_description}}', ], 'archive' => [ 'type' => 'CollectionPage', 'name' => '{{term_name}}', 'description' => '{{term_description}}', ], ], 'fields' => [ 'term_name' => [ 'label' => 'Name', 'type' => 'text', 'quickEdit' => true, ], 'city' => [ 'type' => 'taxonomy', 'taxonomy_type' => 'reference', 'taxonomy' => 'city', 'autocomplete' => true, 'quickEdit' => true, 'label' => 'City', ], 'target' => [ 'type' => 'taxonomy', 'taxonomy_type' => 'reference', 'taxonomy' => 'target', 'autocomplete' => true, 'quickEdit' => true, 'label' => 'Target Audience', ], 'started' => [ 'type' => 'date', 'label' => 'Started', 'quickEdit' => true, ], 'ended' => [ 'type' => 'date', 'label' => 'Ended', 'quickEdit' => true, ], 'budget' => [ 'type' => 'radio', 'label' => 'Budget', 'options' => [ 'low' => '$', 'medium-low'=> '$$', 'medium' => '$$$', 'medium-high'=> '$$$$', 'high' => '$$$$$', ] ], 'timeline' => [ 'type' => 'text', 'label' => 'Timeline', 'quickEdit' => true, ], 'url' => [ 'type' => 'url', 'label' => 'Project URL', 'quickEdit' => true, ], 'description' => [ 'type' => 'textarea', 'quill' => true, 'quickEdit' => true, 'label' => 'Project Description', ], 'needs' => [ 'type' => 'repeater', 'label' => 'Needs', 'fields'=> [ 'need' => [ 'type' => 'text', 'label' => 'Need', 'required' => true ], 'fulfilled' => [ 'type' => 'textarea', 'quill' => true, 'label' => 'How I fulfilled it' ] ] ], 'wants' => [ 'type' => 'repeater', 'label' => 'Wants', 'fields'=> [ 'need' => [ 'type' => 'text', 'label' => 'Want', 'required' => true ], 'fulfilled' => [ 'type' => 'textarea', 'quill' => true, 'label' => 'How I fulfilled it' ] ] ], 'common' => [ 'wiki' ] ] ]; }