| | |
| | | <?php |
| | | // /content/art.php |
| | | // /content/terms.php |
| | | function altr_terms():array |
| | | { |
| | | return [ |
| | | 'singular' => 'Term', |
| | | 'plural' => 'Terms', |
| | | 'dash_title' => 'Glossary Terms', |
| | | 'dash_title' => 'Glossary', |
| | | 'dash_description' => 'Manage your terms', |
| | | 'breadcrumb' => 'Glossary', |
| | | 'hide_single' => true, |
| | | 'icon' => 'asterisk', |
| | | 'is_gallery' => true, |
| | | 'rewrite' => [ |
| | | 'slug' => 'glossary-of-terms', |
| | | 'slug' => 'glossary', |
| | | 'with_front' => false, |
| | | ], |
| | | 'fields' => [ |
| | |
| | | 'type' => 'text', |
| | | 'label' => 'Title', |
| | | ], |
| | | 'definition' => [ |
| | | 'post_status' => [ |
| | | 'type' => 'radio', |
| | | 'label' => 'Status', |
| | | 'hidden' => true, |
| | | 'options' => [ |
| | | 'publish' => 'Show', |
| | | 'draft' => 'Hide', |
| | | 'trash' => 'Scrap', |
| | | 'delete' => 'Permanently Delete' |
| | | ] |
| | | ], |
| | | 'post_slug' => [ |
| | | 'type' => 'text', |
| | | 'label' => 'Slug' |
| | | ], |
| | | 'post_content' => [ |
| | | 'type' => 'textarea', |
| | | 'label' => 'Definition', |
| | | 'quill' => true, |
| | | ], |
| | | 'pronunciation' => [ |
| | | 'type' => 'repeater', |
| | | 'label' => 'Pronunciation', |
| | | 'fields' => [ |
| | | 'part' => [ |
| | | 'type' => 'text', |
| | | 'label' => 'Part', |
| | | ] |
| | | ] |
| | | ], |
| | | 'type' => [ |
| | | 'type' => 'radio', |
| | | 'label' => 'Type', |
| | | 'options' => [ |
| | | 'adjective', |
| | | 'noun', |
| | | 'verb' |
| | | ] |
| | | ] |
| | | ], |
| | | 'single_image' => false, |
| | | 'upload_title' => 'Upload Before & Afters', |
| | | ]; |
| | | } |
| | | |