Banprofil
Bandprofil for Kiwisound
if ( ! function_exists('bandprofile') ) { // Register Custom Post Type function bandprofile() { $labels = array( 'name' => _x( 'Bandprofile', 'Post Type General Name', 'text_domain_mitana' ), 'singular_name' => _x( 'Bandprofil', 'Post Type Singular Name', 'text_domain_mitana' ), 'menu_name' => __( 'Bandprofile', 'text_domain_mitana' ), 'parent_item_colon' => __( 'Rodicovska polozka:', 'text_domain_mitana' ), 'all_items' => __( 'Alle Bandprofile', 'text_domain_mitana' ), 'view_item' => __( 'Bandprofil ansehen', 'text_domain_mitana' ), 'add_new_item' => __( 'Neuen Bandprofil erstellen', 'text_domain_mitana' ), 'add_new' => __( 'Erstellen', 'text_domain_mitana' ), 'edit_item' => __( 'Editovat polozku', 'text_domain_mitana' ), 'update_item' => __( 'Updatovat polozku', 'text_domain_mitana' ), 'search_items' => __( 'Hladat polozku', 'text_domain_mitana' ), 'not_found' => __( 'Keine Bandprofile', 'text_domain_mitana' ), 'not_found_in_trash' => __( 'Keine Bandprofile im Papierkorb', 'text_domain_mitana' ), ); $args = array( 'label' => __( 'bandprofile', 'text_domain_mitana' ), 'description' => __( 'Popis', 'text_domain_mitana' ), 'labels' => $labels, 'supports' => array( 'title', 'editor', 'thumbnail', 'custom-fields', ), 'taxonomies' => array( 'category', 'post_tag', 'bandprofil' ), 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'show_in_nav_menus' => true, 'show_in_admin_bar' => true, 'menu_position' => 5, 'menu_icon' => 'dashicons-star-filled', 'can_export' => true, 'has_archive' => true, 'exclude_from_search' => false, 'publicly_queryable' => true, 'capability_type' => 'post', ); register_post_type( 'bandprofile', $args ); } // Hook into the 'init' action add_action( 'init', 'bandprofile', 0 ); }