<?php

register_post_type( 'qp_popup', array(
	'labels' => array(
		'name' => __( 'QuickPop', 'mb-qp' ),
		'singular_name' => __( 'QuickPopup', 'mb-qp' ),
		'add_new' => __( 'Add New', 'mb-qp' ),
		'add_new_item' => __( 'Add new QuickPopup', 'mb-qp' ),
		'view_item' => __( 'View QuickPopup', 'mb-qp' ),
		'edit_item' => __( 'Edit QuickPopup', 'mb-qp' ),
		'new_item' => __( 'New QuickPopup', 'mb-qp' ),
		'view_item' => __( 'View QuickPopup', 'mb-qp' ),
		'search_items' => __( 'Search QuickPopups', 'mb-qp' ),
		'not_found' =>__( 'No popups found', 'mb-qp' ),
		'not_found_in_trash' => __( 'No popups found in trash', 'mb-qp' ),
	),
	'public' => false,
	'exclude_from_search' => true,
	'show_ui' => true,
	'show_in_menu' => false,
	'capability_type' => 'post',
	'hierarchical' => false,
	'_edit_link' => 'post.php?post=%d',
	'rewrite' => array(
		'slug' => 'qp-popups',
		'with_front' => false,
	),
	'query_var' => true,
	'menu_icon' => '',
	'supports' => array( 'title' ),
) );

register_post_type( 'qp_submissions', array(
	'labels' => array(
		'name' => __( 'Submissions', 'mb-qp' ),
		'singular_name' => __( 'Submission', 'mb-qp' ),
		'add_new' => __( 'Add New', 'mb-qp' ),
		'add_new_item' => __( 'Add new Submission', 'mb-qp' ),
		'view_item' => __( 'View Submission', 'mb-qp' ),
		'edit_item' => __( 'Edit Submission', 'mb-qp' ),
		'new_item' => __( 'New Submission', 'mb-qp' ),
		'view_item' => __( 'View Submission', 'mb-qp' ),
		'search_items' => __( 'Search Submissions', 'mb-qp' ),
		'not_found' =>__( 'No submissions found', 'mb-qp' ),
		'not_found_in_trash' => __( 'No submissions found in trash', 'mb-qp' ),
	),
	'public' => false,
	'exclude_from_search' => true,
	'show_ui' => true,
	'show_in_menu' => false,
	'capability_type' => 'post',
	'hierarchical' => false,
	'_edit_link' => 'post.php?post=%d',
	'rewrite' => array(
		'slug' => 'qp-submissions',
		'with_front' => false,
	),
	'query_var' => true,
	'menu_icon' => '',
	'supports' => array( 'title' ),
) );