Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.139.235.59
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/misswavenigeria.com/wp-content/themes/origami/inc/settings/inc/control/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/misswavenigeria.com/wp-content/themes/origami/inc/settings/inc/control/teaser.php
<?php

class SiteOrigin_Settings_Control_Teaser extends WP_Customize_Control {
	public $type = 'siteorigin-teaser';

	public $featured = false;
	public $teaser = false;
	public $teaser_title = false;

	/**
	 * Render the teaser control's content.
	 */
	public function render_content() {
		// Are we adding a placeholder for a premium setting?
		if ( empty( $this->teaser ) ) {
			if ( ! empty( $this->label ) ) {
				?>
				<span class="customize-control-title">
					<?php echo esc_html( $this->label ); ?>
				</span>
				<?php
			}

			if ( ! empty( $this->description ) ) {
				?>
				<span class="description customize-control-description">
					<?php echo $this->description; ?>
				</span>
				<?php
			}

			?>
			<a
				href="<?php echo esc_url( SiteOrigin_Settings::get_premium_url( $this->featured ) ); ?>"
				class="button-primary so-premium-upgrade"
				target="_blank"
			>
				<?php esc_html_e( 'Available in Premium', 'origami' ); ?>
			</a>
		<?php } else { ?>
			<?php if ( ! empty( $this->teaser['title'] ) ) { ?>
				<span class="customize-control-title siteorigin-teaser-text">
					<?php echo esc_html( $this->teaser['title'] ); ?>
				</span>
			<?php } ?>

			<?php if ( ! empty( $this->teaser['text'] ) ) { ?>
				<div class="siteorigin-teaser-text">
					<?php echo $this->teaser['text']; ?>
				</div>
			<?php } ?>
			<?php
		}
	}

	/**
	 * Enqueue everything we need for this teaser.
	 */
	public function enqueue() {
		wp_enqueue_script( 'siteorigin-settings-teaser-control', get_template_directory_uri() . '/inc/settings/js/control/teaser-control' . SITEORIGIN_THEME_JS_PREFIX . '.js', array( 'jquery', 'customize-controls' ) );
		wp_enqueue_style( 'siteorigin-settings-teaser-control', get_template_directory_uri() . '/inc/settings/css/control/teaser-control.css', array() );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit