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 : 18.221.221.171
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/font.php
<?php

class SiteOrigin_Settings_Control_Font extends WP_Customize_Control {
	public $type = 'siteorigin-font';

	/**
	 * Render the font selector
	 */
	public function render_content() {
		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
		}

		static $fonts = false;
		static $websafe = false;

		if ( empty( $fonts ) ) {
			$fonts = include __DIR__ . '/../../data/fonts.php';
		}

		if ( empty( $websafe ) ) {
			$websafe = apply_filters( 'siteorigin_settings_websafe', include __DIR__ . '/../../data/websafe.php' );
		}

		?>
		<div class="font-wrapper">
			<select class="font">
				<!-- Unchanged -->
				<option value="" data-webfont="false"></option>

				<optgroup label="Web Safe">
					<?php foreach ( $websafe as $name => $attr ) { ?>
						<option
							value="<?php echo esc_attr( $name ); ?>"
							data-variants="<?php echo esc_attr( implode( ',', $attr['variants'] ) ); ?>"
							<?php if ( ! empty( $attr['subsets'] ) ) { ?>
								data-subsets="<?php echo esc_attr( implode( ',', $attr['subsets'] ) ); ?>"
							<?php } ?>
							<?php if ( ! empty( $attr['category'] ) ) { ?>
								data-category="<?php echo esc_attr( $attr['category'] ); ?>"
							<?php } ?>
							data-webfont="false"
							style="font-family: '<?php echo esc_attr( $name ); ?>', <?php echo ! empty( $attr['category'] ) ? esc_attr( $attr['category'] ) : ''; ?>, __websafe">
							<?php echo esc_html( $name ); ?>
						</option>
					<?php } ?>
				</optgroup>

				<optgroup label="Google Webfonts">
					<?php foreach ( $fonts as $name => $attr ) { ?>
						<option
							value="<?php echo esc_attr( $name ); ?>"
							data-variants="<?php echo esc_attr( implode( ',', $attr['variants'] ) ); ?>"
							data-subsets="<?php echo esc_attr( implode( ',', $attr['subsets'] ) ); ?>"
							data-category="<?php echo esc_attr( $attr['category'] ); ?>"
							data-webfont="true"
							style="font-family: '<?php echo esc_attr( $name ); ?>', <?php echo esc_attr( $attr['category'] ); ?>">
							<?php echo esc_html( $name ); ?>
						</option>
					<?php } ?>
				</optgroup>
			</select>
		</div>

		<div class="field-wrapper">
			<label><?php esc_html_e( 'Variant', 'origami' ); ?></label>
			<select class="font-variant"></select>
		</div>

		<div class="field-wrapper">
			<label><?php esc_html_e( 'Subset', 'origami' ); ?></label>
			<select class="font-subset"></select>
		</div>

		<input type="hidden" value="<?php echo esc_attr( $this->value() ); ?>" <?php $this->link(); ?> />

		<?php
	}

	/**
	 * Enqueue all the scripts and styles we need.
	 */
	public function enqueue() {
		// We'll use chosen for the font selector.
		wp_enqueue_script( 'siteorigin-settings-chosen', get_template_directory_uri() . '/inc/settings/chosen/chosen.jquery' . SITEORIGIN_THEME_JS_PREFIX . '.js', array( 'jquery' ), '1.4.2' );
		wp_enqueue_style( 'siteorigin-settings-chosen', get_template_directory_uri() . '/inc/settings/chosen/chosen.min.css', array(), '1.4.2' );

		// The main font controls.
		wp_enqueue_script( 'siteorigin-settings-font-control', get_template_directory_uri() . '/inc/settings/js/control/font-control' . SITEORIGIN_THEME_JS_PREFIX . '.js', array( 'jquery', 'customize-controls' ) );
		wp_enqueue_style( 'siteorigin-settings-font-control', get_template_directory_uri() . '/inc/settings/css/control/font-control.css', array() );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit