function acpt_blog_init() { $args_blog = array('supports' => array('title', 'editor', 'thumbnail', 'author', 'excerpt', 'post-formats'), 'hierarchical' => FALSE); $blog = acpt_post_type('blog', 'blogs', false, $args_blog)->icon('calendar'); acpt_tax('Blog Category', 'Blog Categories', $blog, true, false); $collection_Admin = new Custom_Post_Type_Admin('blog', array('blog-category')); }
function acpt_albums_init() { $args_albums = array('supports' => array('title', 'thumbnail', 'excerpt'), 'hierarchical' => true); $albums = acpt_post_type('album', 'albums', false, $args_albums)->icon('color'); acpt_tax('gallery', 'galleries', $albums, true, false); $album_Admin = new Custom_Post_Type_Admin('album', array('gallery')); }
function acpt_associate_init() { $args_associate = array('supports' => array('title', 'editor', 'thumbnail'), 'hierarchical' => true); $associate = acpt_post_type('associate', 'associates', false, $args_associate)->icon('cake'); acpt_tax('concern', 'concerns', $associate, true, false); $associate_Admin = new Custom_Post_Type_Admin('associate', array('concern')); }
function acpt_news_init() { $args_news = array('supports' => array('title', 'editor', 'thumbnail', 'author', 'excerpt', 'post-formats'), 'hierarchical' => FALSE); $news = acpt_post_type('news', 'news', false, $args_news)->icon('cake'); acpt_tax('News Category', 'News Categories', $news, true, false); $collection_Admin = new Custom_Post_Type_Admin('news', array('news-category')); }
function acpt_notice_init() { $args_notice = array('supports' => array('title', 'editor', 'thumbnail', 'author', 'excerpt'), 'hierarchical' => FALSE); $notice = acpt_post_type('notice', 'notices', false, $args_notice)->icon('clock'); acpt_tax('Notice Category', 'Notice Category', $notice, true, false); $collection_Admin = new Custom_Post_Type_Admin('notice', array('notice-category')); }
function acpt_services_init() { $args_services = array('supports' => array('title', 'editor', 'thumbnail', 'excerpt'), 'hierarchical' => true); $services = acpt_post_type('service', 'services', false, $args_services)->icon('mic'); acpt_tax('stype', 'stypes', $services, true, false); $services_Admin = new Custom_Post_Type_Admin('service', array('stype')); }
function acpt_events_init() { $args_news_events = array('supports' => array('title', 'editor', 'thumbnail', 'excerpt'), 'hierarchical' => FALSE); $news_events = acpt_post_type('event', 'events', false, $args_news_events)->icon('calendar'); acpt_tax('Event Category', 'Event Category', $news_events, true, false); $collection_Admin = new Custom_Post_Type_Admin('event'); }
function acpt_profile_init() { $args_profile = array('supports' => array('title', 'editor', 'thumbnail', 'excerpt', 'author'), 'hierarchical' => true); $profile = acpt_post_type('profile', 'profiles', false, $args_profile)->icon('person'); acpt_tax('people', 'peoples', $profile, true, false); $people_Admin = new Custom_Post_Type_Admin('profile', array('people')); }
function acpt_products_init() { $args_products = array('supports' => array('title', 'editor', 'thumbnail', 'excerpt'), 'hierarchical' => true); $product = acpt_post_type('product', 'products', false, $args_products)->icon('ipad'); acpt_tax('group', 'groups', $product, true, false); $people_Admin = new Custom_Post_Type_Admin('product', array('group')); }
function acpt_testimonials_init() { // in supports add the meta box custom $args_testimonial = array('supports' => array('title', 'editor', 'thumbnail'), 'hierarchical' => true); $testimonial = acpt_post_type('testimonial', 'testimonials', false, $args_testimonial)->icon('person'); acpt_tax('author', 'author', $testimonial, true, false); $testimonial_Admin = new Custom_Post_Type_Admin('testimonial', array('author')); }
function acpt_sample_init() { // in supports add the meta box custom $args_sample = array('supports' => array('title', 'editor', 'page-attributes', 'custom'), 'hierarchical' => true); $args_example = array('supports' => array('title'), 'public' => false, 'show_ui' => true); $sample = acpt_post_type('sample', 'samples', false, $args_sample)->icon('person'); acpt_post_type('example', 'examples', false, $args_example)->icon('location'); acpt_tax('color', 'colors', $sample, true, false); }