Changeset 711123
- Timestamp:
- 05/10/2013 10:36:39 PM (13 years ago)
- File:
-
- 1 edited
-
soldpress/branches/0.9.5A/custom_field_types.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
soldpress/branches/0.9.5A/custom_field_types.php
r710174 r711123 19 19 ); 20 20 21 $rewrite = array( 22 'slug' => 'listing', 23 'with_front' => true, 24 'pages' => true, 25 'feeds' => true, 26 ); 27 21 28 $args = array( 22 'label' => __( ' property', 'text_domain' ),29 'label' => __( 'sp_property', 'text_domain' ), 23 30 'description' => __( 'Property information pages', 'text_domain' ), 24 31 'labels' => $labels, … … 31 38 'show_in_admin_bar' => true, 32 39 'menu_position' => 5, 33 'menu_icon' => '',40 'menu_icon' => plugins_url( '/images/soldpress-home-admin.png' , __FILE__ ), 34 41 'can_export' => true, 35 42 'has_archive' => true, 36 43 'exclude_from_search' => false, 37 'publicly_queryable' => true, 44 'publicly_queryable' => true, 45 'rewrite' => $rewrite, 38 46 'capability_type' => 'page', 39 47 ); 40 48 41 49 register_post_type( 'property', $args ); 50 flush_rewrite_rules( false ); 42 51 } 43 52
Note: See TracChangeset
for help on using the changeset viewer.