
<?php
/**
 * Custom Post Types
 * @var [type]
 */


// get_stylesheet_directory() won't bring the proper path if this sits inside of a child theme
$_path_to_theme = is_child_theme() ? get_stylesheet_directory() : get_template_directory();

require_once $_path_to_theme . '/inc/cpt.php';
require_once $_path_to_theme . '/inc/meta.php';
require_once $_path_to_theme . '/inc/taxo.php';

$cpts['players'] = new \fuel\CPT('Player','Players','universe',
    array(
        'menu_icon' => 'dashicons-thumbs-up',
        'supports' => array('title','editor' ),
        'taxonomies'  => array(),
        'public' => false,
    ) );


