Beispiel #1
0
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'));
}
Beispiel #2
0
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'));
}
Beispiel #3
0
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'));
}
Beispiel #4
0
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'));
}
Beispiel #5
0
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'));
}
Beispiel #6
0
function acpt_job_init()
{
    $args_job = array('supports' => array('title', 'editor', 'thumbnail', 'author', 'excerpt', 'post-formats'), 'hierarchical' => FALSE);
    $job = acpt_post_type('job', 'jobs', false, $args_job)->icon('cake');
    //acpt_tax('Job Category', 'Job Categories', $job, true, false);
    $collection_Admin = new Custom_Post_Type_Admin('job', array('job-category'));
}
Beispiel #7
0
function acpt_research_init()
{
    $args_research = array('supports' => array('title', 'editor', 'thumbnail', 'author', 'excerpt', 'post-formats'), 'hierarchical' => FALSE);
    $research = acpt_post_type('research', 'researches', false, $args_research)->icon('cake');
    //acpt_tax('Research Category', 'Research Categories', $research, true, false);
    $collection_Admin = new Custom_Post_Type_Admin('research', array('research-category'));
}
Beispiel #8
0
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'));
}
Beispiel #9
0
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');
}
Beispiel #10
0
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'));
}
Beispiel #11
0
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'));
}
Beispiel #12
0
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'));
}
Beispiel #13
0
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);
}
Beispiel #14
0
function acpt_featuredlink_init()
{
    $args_featuredlink = array('supports' => array('title', 'thumbnail'), 'hierarchical' => true);
    $product = acpt_post_type('featuredlink', 'featuredlinks', false, $args_featuredlink)->icon('person');
    $featuredlink_Admin = new Custom_Post_Type_Admin('featuredlink');
}
Beispiel #15
0
function acpt_sliders_init()
{
    $args_sliders = array('supports' => array('title', 'editor', 'thumbnail'), 'hierarchical' => TRUE, 'exclude_from_search' => FALSE);
    $product = acpt_post_type('slider', 'sliders', FALSE, $args_sliders)->icon('box');
    $product_Admin = new Custom_Post_Type_Admin('slider');
}