HEX
Server: LiteSpeed
System: Linux server1.jphostbd.xyz 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
User: dailyajk (1018)
PHP: 7.4.33
Disabled: mail, show_source, system, shell_exec, passthru, exec, eval, shell
Upload Files
File: /home/dailyajk/public_html/wp-content/themes/jphostbd-news12/include/customs_post.php
<?php


/* --------------Our Team Customs Post Register----------------- */

if(function_exists('register_post_type')) {
		register_post_type('team', array(
			'labels' => array(
				'name' => __('Our Team', 'news'),
				'menu_name' => __('Our Team', 'news'),
				'add_new' => __('Add New Post', 'news'),
				'add_new_item' => __('Add New Post', 'news'),
			),
			'public' => true,
			'menu_icon' => 'dashicons-groups',
			'supports' => array('title','editor','thumbnail')
		   ));
	    }

		

/* --------------Photo Gallary Customs Post Register----------------- */

if(function_exists('register_post_type')) {
		register_post_type('news-photo', array(
			'labels' => array(
				'name' => __('Photo', 'news'),
				'menu_name' => __('Photo Gallary', 'news'),
				'add_new' => __('Add New Photo', 'news'),
				'add_new_item' => __('Add New Photo', 'news'),
			),
			'public' => true,
			'menu_icon' => 'dashicons-images-alt',
			'supports' => array('title','thumbnail')
		   ));
	    }
/* --------------Video Gallary  Customs Post Register----------------- */

if(function_exists('register_post_type')) {
		register_post_type('news-video', array(
			'labels' => array(
				'name' => __('Video', 'news'),
				'menu_name' => __('Video Gallary', 'news'),
				'add_new' => __('Add New Video', 'news'),
				'add_new_item' => __('Add New Video', 'news'),
			),
			'public' => true,
			'menu_icon' => 'dashicons-format-video',
			'supports' => array('title','editor')
		   ));
	    }