Guest User

Untitled

a guest
Feb 10th, 2012
88
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. register_post_type('radio_show_podcasts',
  2.     array(    'label' => 'Radio Show Podcasts',
  3.         'description' => '',
  4.         'public' => true,
  5.         'show_ui' => true,
  6.         'show_in_menu' => true,
  7.         'capability_type' => 'post',
  8.         'hierarchical' => false,
  9.         'rewrite' => array('slug' => false),
  10.         'query_var' => true,
  11.         'supports' => array('title','editor','excerpt','trackbacks','custom-fields','comments','revisions','thumbnail','author','page-attributes',),
  12.         'labels' => array (
  13.             'name' => 'Radio Show Podcasts',
  14.             'singular_name' => 'Radio Show Podcast',
  15.             'menu_name' => 'Radio Show Podcasts',
  16.             'add_new' => 'Add Podcast',
  17.             'add_new_item' => 'Add New Podcast',
  18.             'edit' => 'Edit Podcasts',
  19.             'edit_item' => 'Edit Podcast',
  20.             'new_item' => 'New Podcast',
  21.             'view' => 'View Podcast',
  22.             'view_item' => 'View Podcast',
  23.             'search_items' => 'Search Podcast',
  24.             'not_found' => 'No Podcasts Found',
  25.             'not_found_in_trash' => 'No Podcasts Found in Trash',
  26.             'parent' => 'Parent Podcast',
  27.         ),
  28.     )
  29. );
  30.  
  31. register_taxonomy('radio_show_podcast_categories',
  32.     array (
  33.         0 => 'radio_show_podcasts',
  34.     ),
  35.     array( 'hierarchical' => false,
  36.         'label' => 'Podcast Categories',
  37.         'show_ui' => true,
  38.         'query_var' => true,
  39.         'rewrite' => array('slug' => false
  40.     ),
  41.     'singular_label' => 'Podcast Category')
  42. );
RAW Paste Data