HEX
Server: Apache
System: Linux uws7-179.cafe24.com 3.10.0-1160.119.1p.el7.x86_64 #1 SMP Thu Sep 11 14:15:01 KST 2025 x86_64
User: medikors (1589)
PHP: 7.3.1p1
Disabled: mysql_pconnect
Upload Files
File: /medikors/www/eng/wp-content/plugins/jupiterx-core/includes/customizer/settings/title-bar/popup.php
<?php
/**
 * Add Jupiter Title Bar popup and tabs to the WordPress Customizer.
 *
 * @package JupiterX\Framework\Admin\Customizer
 *
 * @since   1.0.0
 */

$popups = [
	'title'      => __( 'Title', 'jupiterx-core' ),
	'subtitle'   => __( 'Subtitle', 'jupiterx-core' ),
	'breadcrumb' => __( 'Breadcrumb', 'jupiterx-core' ),
	'container'  => __( 'Container', 'jupiterx-core' ),
];

// Popup.
JupiterX_Customizer::add_section( 'jupiterx_title_bar', [
	'title'    => __( 'Title Bar', 'jupiterx-core' ),
	'type'     => 'popup',
	'priority' => 125,
	'tabs'     => [
		'settings' => __( 'Settings', 'jupiterx-core' ),
		'styles'   => __( 'Styles', 'jupiterx-core' ),
	],
	'popups'   => $popups,
	'help'    => [
		'url'   => 'http://help.artbees.net/how-to-s/title-bar/includingexcluding-pages-from-displaying-the-title-bar',
		'title' => __( 'Including/Excluding pages from displaying the Title Bar', 'jupiterx-core' ),
	],
] );

// Settings tab.
JupiterX_Customizer::add_section( 'jupiterx_title_bar_settings', [
	'popup' => 'jupiterx_title_bar',
	'type'  => 'pane',
	'pane'  => [
		'type' => 'tab',
		'id'   => 'settings',
	],
] );

// Styles tab.
JupiterX_Customizer::add_section( 'jupiterx_title_bar_styles', [
	'popup' => 'jupiterx_title_bar',
	'type'  => 'pane',
	'pane'  => [
		'type' => 'tab',
		'id'   => 'styles',
	],
] );

// Styles tab > Child popups.
JupiterX_Customizer::add_field( [
	'type'     => 'jupiterx-child-popup',
	'settings' => 'jupiterx_title_bar_styles_popups',
	'section'  => 'jupiterx_title_bar_styles',
	'target'   => 'jupiterx_title_bar',
	'choices'  => $popups,
] );

// Create popup children.
foreach ( $popups as $popup_id => $label ) {
	JupiterX_Customizer::add_section( 'jupiterx_title_bar_' . $popup_id, [
		'popup' => 'jupiterx_title_bar',
		'type'  => 'pane',
		'pane'  => [
			'type' => 'popup',
			'id'   => $popup_id,
		],
	] );
}

// Load all the settings.
foreach ( glob( dirname( __FILE__ ) . '/*.php' ) as $setting ) {
	require_once $setting;
}