Create Custom Post Type

It’s often very helpful to clients to separate different types of posts, so you can present information in the most effective way. Luckily, WordPress makes this a fairly simple venture. Simply add the following to your functions.php file.

// New custom post type along with taxonomy
add_action( 'init', 'create_post_type' );
function create_post_type() {
	register_post_type( 'projects',
		array(
			'labels' => array(
				'name' => 'Projects',
				'singular_name' => 'Projects',
				'edit_item' => 'Edit Project',
				'add_new' => 'Add New Project',
				'new_item' => 'New Project',
				'view_item' => 'View Project',
				'search_items' => 'Search Projects',
				'not_found' => 'No Projects Found',
				'not_found_in_trash' => 'No Projects Found in Trash'
			),
		'public' => true,
		'has_archive' => true,
		'taxonomies' => array('post_tag'), // this is IMPORTANT
		'supports' => array('title', 'editor', 'thumbnail', 'author', 'custom-fields', 'comments')
		)
	);
}
cw-index-1-r2
goUSF-index-1
usfgm-index-1-r3
bgl-index-1
ucon-index-1-r1
adopt-index-2
skalet-index-1-r2
pcabral
th-index-1
rms-index-2
km-index-1-r1
peu-index-2-r3b
pdu-index-1-r2a
oph-index-1-r2
mmm-index-1
long-index-1-r1a
ernies-index-1
cooks-index-1-r2a
df-index-1-r1
vs-index-1
uni-index-1
pe-wedding-print
Screen shot 2013-10-25 at 3.38.39 PM
fred
cabral
dava
psa
errg
apex
pag
cwb
beginners
awakealive
ecom
ab