Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.112.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : ourteam.php
<?php

if(!function_exists('bwp_create_type_ourteam')  ){
    function bwp_create_type_ourteam(){
    $labels_ourteam = array(
        'name' => __( 'Our Team', "wpbingo" ),
        'singular_name' => __( 'Our Team', "wpbingo" ),
        'add_new' => __( 'Add New Our Team', "wpbingo" ),
        'add_new_item' => __( 'Add New Our Team', "wpbingo" ),
        'edit_item' => __( 'Edit Our Team', "wpbingo" ),
        'new_item' => __( 'New Our Team', "wpbingo" ),
        'view_item' => __( 'View Our Team', "wpbingo" ),
        'search_items' => __( 'Search Our Teams', "wpbingo" ),
        'not_found' => __( 'No Our Teams found', "wpbingo" ),
        'not_found_in_trash' => __( 'No Our Teams found in Trash', "wpbingo" ),
        'parent_item_colon' => __( 'Parent Our Team:', "wpbingo" ),
        'menu_name' => __( 'Our Teams', "wpbingo" ),
      );

    $args_ourteam = array(
          'labels' => $labels_ourteam,
          'hierarchical' => true,
          'description' => __( 'List OurTeam', "wpbingo" ),
          'supports' => array( 'title', 'editor', 'thumbnail'),
          'public' => true,
          'show_ui' => true,
          'show_in_menu' => true,
          'menu_position' => 6,
		  'show_in_menu' => false,
          'show_in_nav_menus' => true,
          'publicly_queryable' => true,
          'exclude_from_search' => false,
          'has_archive' => true,
          'query_var' => true,
          'can_export' => true,
          'rewrite' => true,
          'capability_type' => 'post'
      );
    register_post_type( 'ourteam', $args_ourteam ); 
  }
  add_action( 'init','bwp_create_type_ourteam',0 );
}

© 2025 XylotrechusZ