Skip to content

Instantly share code, notes, and snippets.

View jasonknight's full-sized avatar

Jason Martin jasonknight

View GitHub Profile
<?php
function listing_post_type() {
$labels = array(
'name' => _x( 'Listing', 'Post Type studio', 'text_domain' ),
'singular_name' => _x( 'Listing', 'Post Type studio', 'text_domain' ),
'menu_name' => __( 'Listings', 'text_domain' ),
'parent_item_colon' => __( 'Parent Listing:', 'text_domain' ),
'all_items' => __( 'All Listings', 'text_domain' ),
'view_item' => __( 'View Listing', 'text_domain' ),
'add_new_item' => __( 'Add New Listing', 'text_domain' ),