Stellenangebote
Stellenangebote
if ( ! function_exists('stellenangebote_post_type') ) { // Register Custom Post Type function stellenangebote_post_type() { $labels = array( 'name' => _x( 'Stellenagebote', 'Post Type General Name', 'text_domain' ), 'singular_name' => _x( 'Stellenangebot', 'Post Type Singular Name', 'text_domain' ), 'menu_name' => __( 'Stellenagebote', 'text_domain' ), 'name_admin_bar' => __( 'kl_Stellenagebote', 'text_domain' ), 'parent_item_colon' => __( 'Übergeordnet', 'text_domain' ), 'all_items' => __( 'Alle Stellenagebote', 'text_domain' ), 'add_new_item' => __( 'Neues Stellenangebot hinzufügen', 'text_domain' ), 'add_new' => __( 'Neues Stellenangebot', 'text_domain' ), 'new_item' => __( 'Neues Stellenangebot', 'text_domain' ), 'edit_item' => __( 'Stellenangebot bearbeiten', 'text_domain' ), 'update_item' => __( 'Stellenangebot aktualisieren', 'text_domain' ), 'view_item' => __( 'Stellenangebot ansehen', 'text_domain' ), 'search_items' => __( 'Stellenangebot suchen', 'text_domain' ), 'not_found' => __( 'Nicht gefunden', 'text_domain' ), 'not_found_in_trash' => __( 'Nicht in Papierkorb gefunden', 'text_domain' ), ); $args = array( 'label' => __( 'kl_stellenangebote', 'text_domain' ), 'description' => __( 'Stellenangebote', 'text_domain' ), 'labels' => $labels, 'supports' => array( 'title', 'editor', 'excerpt', 'thumbnail', 'revisions', 'custom-fields', ), 'taxonomies' => array( 'Bereich', ' Art' ), 'hierarchical' => true, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'menu_position' => 5, 'menu_icon' => 'dashicons-id-alt', 'show_in_admin_bar' => true, 'show_in_nav_menus' => true, 'can_export' => true, 'has_archive' => true, 'exclude_from_search' => false, 'publicly_queryable' => true, 'rewrite' => false, 'capability_type' => 'page', ); register_post_type( 'kl_stellenangebote', $args ); } // Hook into the 'init' action add_action( 'init', 'stellenangebote_post_type', 0 ); }