Jake Vanderwerf
4 hours ago b7aed073c23396afa7eccb488dd25bfa222c1819
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
<?php
// /content/setup.php
 
/**
 * JVB_CONTENT: Base post type definitions
 *  Structure:  [ 'slug' => [$options], ]
 *  Note: slug is prepended with BASE in registration
 *  $options includes:
 *  - any $args from register_post_type
 *  - single and plural labels (string)
 *  - hide_single     = (bool) if true, only show posts on author page, not on is_singular() view
 *  - show_feed     = (bool) if true, becomes one of the content types shown in feed block
 *  - show_directory= (bool) if true, creates an alphabetical list directory page
 *  - karma            = (bool) if true, sets up upvotes/downvotes system
 *  - favouritable     = (bool)
 *  - responses        = (bool) if true, sets up comments and replies
 *  - is_calendar    = (bool) if true, sets up default calendar functionality
 *  - single_image    = (bool) if true, and dashboard is setup, each image becomes its own post
 *  - upload_title    = (string)),
 *  - rewrites      = (array) key = associated taxonomy; value = what to append to rewrite base
 *  - description = (array) strings for login description of type
 *  -dash_title = (string) customize the title for custom dashboard
 *  - dash_description = (string) customize the description for custom dashboard
 *  - directory_extra = (array) of BASEless slugs of taxonomies to link in directory
 *  - sections = (array) 'slug' => $options, where options include ['label' => $label, 'icon' => $iconSlug]; used to split large groups of fields into tabs on the edit page
 *  - fields = (array) of fields, as defined in MetaManager.php, as well as additional options:
 *  - 'quickEdit' => (bool) whether this field can be edited in the custom administrator dashboard (best for text fields)
 *  - 'section' => (string) the slug of the section, as defined above
 */
 
 
require(AEI_DIR . '/content/tattoos.php');
require(AEI_DIR . '/content/piercings.php');
require(AEI_DIR . '/content/artwork.php');
require(AEI_DIR . '/content/offers.php');
require(AEI_DIR . '/content/events.php');
 
//add_filter('jvb_content', 'aei_content');
//function aei_content($content):array
//{
//    return [
//        'soap'       => aei_soap(),
//    ];
//}