__('Gallery'), 'singular_label' => __('Gallery Item', 'theme1484'), '_builtin' => false, 'public' => true, 'show_ui' => true, 'show_in_nav_menus' => true, 'hierarchical' => true, 'capability_type' => 'page', 'menu_icon' => get_template_directory_uri() . '/includes/images/icon_portfolio.png', 'rewrite' => array( 'slug' => 'gallery-view', 'with_front' => FALSE, ), 'supports' => array( 'title', 'editor', 'thumbnail', 'excerpt', 'custom-fields', 'comments') ) ); register_taxonomy('portfolio_category', 'portfolio', array('hierarchical' => true, 'label' => 'Gallery Categories', 'singular_name' => 'Category', "rewrite" => true, "query_var" => true)); } add_action('init', 'my_post_type_portfolio'); */ /* Services */ function my_post_type_services() { register_post_type( 'services', array( 'label' => __('Services'), 'public' => true, 'show_ui' => true, 'show_in_nav_menus' => true, 'menu_position' => 5, 'rewrite' => array( 'slug' => 'services', 'with_front' => FALSE, ), 'supports' => array( 'title', 'thumbnail', 'editor', 'excerpt') ) ); } add_action('init', 'my_post_type_services'); function occasions() { $labels = array( 'name' => _x( 'Occasion', 'Post Type General Name', 'text_domain' ), 'singular_name' => _x( 'Occasion', 'Post Type Singular Name', 'text_domain' ), 'menu_name' => __( 'Occasion', 'text_domain' ), 'parent_item_colon' => __( 'Parent Item:', 'text_domain' ), 'all_items' => __( 'All Occasions', 'text_domain' ), 'view_item' => __( 'View Item', 'text_domain' ), 'add_new_item' => __( 'Add New Occasion', 'text_domain' ), 'add_new' => __( 'Add New', 'text_domain' ), 'edit_item' => __( 'Edit Occasions', 'text_domain' ), 'update_item' => __( 'Update Occasions', 'text_domain' ), 'search_items' => __( 'Search Occasions', 'text_domain' ), 'not_found' => __( 'Occasions Not found', 'text_domain' ), 'not_found_in_trash' => __( 'Not found in Trash', 'text_domain' ), ); $args = array( 'label' => __( 'Occasion', 'text_domain' ), 'description' => __( 'Occasion', 'text_domain' ), 'labels' => $labels, 'supports' => array( 'title', 'editor', 'excerpt', 'thumbnail', 'comments', 'revisions', 'page-attributes', ), 'taxonomies' => array( 'category', 'post_tag' ), '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' => '', 'can_export' => true, 'has_archive' => true, 'exclude_from_search' => false, 'publicly_queryable' => true, 'capability_type' => 'page', ); register_post_type( 'occasions', $args ); } add_action('init', 'occasions'); Wachtwoord kwijt ‹ TRC Motors — WordPress

Mogelijk gemaakt door WordPress

Vul je gebruikersnaam of e-mailadres in. Je ontvangt een e-mailbericht met instructies hoe je je wachtwoord opnieuw kunt instellen.

← Terug naar TRC Motors