register_post_type(
'annunci',
array( 'labels' => array(
'name' => __( 'Annunci', 'appthemes' ),
'singular_name' => __( 'Annuncio', 'appthemes' ),
'add_new' => __( 'Nuovo Annuncio', 'appthemes' ),
'add_new_item' => __( 'Crea Nuovo Annuncio', 'appthemes' ),
'edit' => __( 'Modifica', 'appthemes' ),
'edit_item' => __( 'Mod Annuncio', 'appthemes' ),
'new_item' => __( 'Nuovo Annuncio', 'appthemes' ),
'view' => __( 'Visualizza Annunci', 'appthemes' ),
'view_item' => __( 'Visualizza Annuncio', 'appthemes' ),
'search_items' => __( 'Cerca Annunci', 'appthemes' ),
'not_found' => __( 'Nessun Annuncio Trovato', 'appthemes' ),
'not_found_in_trash' => __( 'Nessun Annuncio nel Cestino', 'appthemes' ),
'parent' => __( 'Annuncio Parente', 'appthemes' ),
),
'description' => __( 'Qui è dove potete creare nuovi annunci di lavoro per i docenti che verranno a produrre i vostri corsi.', 'appthemes' ),
'public' => true,
'show_ui' => true,
'capability_type' => 'post',
'publicly_queryable' => true,
'exclude_from_search' => false,
'menu_position' => 11,
'hierarchical' => false,
'rewrite' => array( 'slug' => $post_type_base_url, 'with_front' => false ),
'query_var' => true,
'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'trackbacks', 'custom-fields', 'revisions', 'sticky' ),
)
);
add_action( 'init', 'cp_ad_listing_post_type', 0 );
There are currently 1 users browsing this thread. (0 members and 1 guests)