Server : LiteSpeed
System : Linux premium152.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : idesfsze ( 1473)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /home/idesfsze/pandaexpressketo.com/wp-content/themes/jnews/class/metabox/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : /home/idesfsze/pandaexpressketo.com/wp-content/themes/jnews/class/metabox/post-primary-category.php
<?php

return array(
	'id'       => 'jnews_primary_category',
	'types'    => array( 'post' ),
	'title'    => esc_html__( 'JNews : Primary Category', 'jnews' ),
	'priority' => 'high',
	'context'  => 'side',
	'template' => array(

		array(
			'type'        => 'singletermhierarchy',
			'name'        => 'id',
			'label'       => esc_html__( 'Primary Category', 'jnews' ),
			'description' => wp_kses( __( 'You can search the post category by <strong>inputting the category name</strong>, clicking search result, and you will have your post category.<br>Primary category will show as your <strong>breadcrumb</strong> category on single Blog Post. <br/> Other <strong>page that require single category</strong> to show, this category will be used.', 'jnews' ), wp_kses_allowed_html() ),
			'multiple'    => false,
			'items'       => array(
				'data' => array(
					array(
						'source' => 'function',
						'value'  => 'jnews_get_categories_selectize',
					),
				),
			),
		),

		array(
			'type'        => 'multitermhierarchy',
			'name'        => 'hide',
			'label'       => esc_html__( 'Hide Category', 'jnews' ),
			'description' => wp_kses( __( 'You can search the post category by <strong>inputting the category name</strong>, clicking search result, and you will have your post category.<br>Hide category will not show your category on single Blog Post.', 'jnews' ), wp_kses_allowed_html() ),
			'multiple'    => true,
			'items'       => array(
				'data' => array(
					array(
						'source' => 'function',
						'value'  => 'jnews_get_categories_selectize',
					),
				),
			),
		),

	),
);


F1le Man4ger