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.137.221.252
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/cynthiaadediran.com/wp-content/themes/gerold/inc/common/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/cynthiaadediran.com/wp-content/themes/gerold/inc/common/template-scripts.php
<?php

/**
 * Gerold Theme Scripts
 *
 * @package Gerold_Theme
 * @since Gerold 1.0.0
 * @author ThemeJunction 
 */

if (!defined('ABSPATH')) {
  exit;
}


function gerold_scripts() {
  /**
   * ---------------------------------------------------------------------------------------
   * Enqueue All CSS Files
   * ---------------------------------------------------------------------------------------
   */
  wp_enqueue_style('gerold-google-fonts', gerold_google_fonts_url(), '', null);

  if (is_rtl()) {
    wp_enqueue_style('bootstrap-rtl', GEROLD_ASSETS_CSS_URL . 'bootstrap.rtl.min.css', []);
  } else {
    wp_enqueue_style('bootstrap', GEROLD_ASSETS_CSS_URL . 'bootstrap.min.css', []);
  }
  wp_enqueue_style('font-awesome-pro', GEROLD_ASSETS_CSS_URL . 'font-awesome-pro.min.css', []);
  wp_enqueue_style('animate', GEROLD_ASSETS_CSS_URL . 'animate.min.css', []);
  wp_enqueue_style('meanmenu', GEROLD_ASSETS_CSS_URL . 'meanmenu.css', []);
  wp_enqueue_style('nice-select', GEROLD_ASSETS_CSS_URL . 'nice-select.css', []);
  wp_enqueue_style('flaticon', GEROLD_ASSETS_CSS_URL . 'flaticon_gerold.css', []);
  wp_enqueue_style('owl-carousel', GEROLD_ASSETS_CSS_URL . 'owl.carousel.min.css', []);
  wp_enqueue_style('odometer', GEROLD_ASSETS_CSS_URL . 'odometer-theme-default.css', []);
  wp_enqueue_style('magnific-popup', GEROLD_ASSETS_CSS_URL . 'magnific-popup.css', []);
  wp_enqueue_style('gerold-swiper', GEROLD_ASSETS_CSS_URL . 'swiper.min.css', []);
  wp_enqueue_style('gerold-core', GEROLD_ASSETS_CSS_URL . 'gerold-core.css', [], GEROLD_THEME_VERSION);
  wp_enqueue_style('gerold-core-2', GEROLD_ASSETS_CSS_URL . 'gerold-core-2.css', [], GEROLD_THEME_VERSION);
  wp_enqueue_style('gerold-light-mode', GEROLD_ASSETS_CSS_URL . 'gerold-light-mode.css', [], GEROLD_THEME_VERSION);
  wp_enqueue_style('gerold-responsive', GEROLD_ASSETS_CSS_URL . 'gerold-responsive.css', [], GEROLD_THEME_VERSION);
  wp_enqueue_style('gerold-responsive-2', GEROLD_ASSETS_CSS_URL . 'gerold-responsive-2.css', [], GEROLD_THEME_VERSION);
  wp_enqueue_style('gerold-unit', GEROLD_ASSETS_CSS_URL . 'gerold-unit.css', [], GEROLD_THEME_VERSION);
  wp_enqueue_style('gerold-custom', GEROLD_ASSETS_CSS_URL . 'gerold-custom.css', [], GEROLD_THEME_VERSION);

  wp_enqueue_style('gerold-style', get_stylesheet_uri(), [], GEROLD_THEME_VERSION);

  /**
   * ---------------------------------------------------------------------------------------
   * Enqueue All JS Files
   * ---------------------------------------------------------------------------------------
   */
  wp_enqueue_script('bootstrap-bundle', GEROLD_ASSETS_JS_URL . 'bootstrap.bundle.min.js', ['jquery'], '', true);
  wp_enqueue_script('nice-select', GEROLD_ASSETS_JS_URL . 'nice-select.js', ['jquery'], '', true);
  wp_enqueue_script('meanmenu', GEROLD_ASSETS_JS_URL . 'meanmenu.js', ['jquery'], '', true);
  wp_enqueue_script('smooth-scroll', GEROLD_ASSETS_JS_URL . 'smooth-scroll.js', ['jquery'], '', true);
  wp_enqueue_script('appear', GEROLD_ASSETS_JS_URL . 'appear.min.js', ['jquery'], '', true);
  wp_enqueue_script('wow', GEROLD_ASSETS_JS_URL . 'wow.min.js', ['jquery'], '', true);
  wp_enqueue_script('gsap', GEROLD_ASSETS_JS_URL . 'gsap.min.js', ['jquery'], '', true);
  wp_enqueue_script('owl-carousel', GEROLD_ASSETS_JS_URL . 'owl.carousel.min.js', ['jquery'], '', true);
  wp_enqueue_script('isotope', GEROLD_ASSETS_JS_URL . 'isotope.pkgd.min.js', ['jquery'], '', true);
  wp_enqueue_script('odometer', GEROLD_ASSETS_JS_URL . 'odometer.min.js', ['jquery'], '', true);
  wp_enqueue_script('magnific-popup', GEROLD_ASSETS_JS_URL . 'magnific-popup.js', ['jquery'], '', true);
  wp_enqueue_script('gerold-swiper', GEROLD_ASSETS_JS_URL . 'swiper.min.js', ['jquery'], '', true);
  wp_enqueue_script('gerold-main', GEROLD_ASSETS_JS_URL . 'main.js', ['jquery'], GEROLD_THEME_VERSION, true);

  if (is_singular() && comments_open() && get_option('thread_comments')) {
    wp_enqueue_script('comment-reply');
  }
}
add_action('wp_enqueue_scripts', 'gerold_scripts');

/**
 * ---------------------------------------------------------------------------------------
 * Register Google Fonts
 * ---------------------------------------------------------------------------------------
 */
function gerold_google_fonts_url() {
  $fonts_url     = '';
  $font_families = [];

  $Sora       = _x('on', 'Sora font: on or off', 'gerold');
  $RussoOne = _x('on', 'RussoOne font: on or off', 'gerold');

  if ('off' !== $RussoOne) {
    $font_families[] = 'Russo One:ital,wght@0,400&display=swap';
  }
  if ('off' !== $Sora) {
    $font_families[] = 'Sora:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap&display=swap';
  }

  if ($font_families) {
    $query_args = array(
      'family' => urlencode(implode('|', $font_families)),
      'subset' => urlencode('latin,latin-ext'),
    );
    $fonts_url = add_query_arg($query_args, '//fonts.googleapis.com/css');
  }

  return $fonts_url;
}

Youez - 2016 - github.com/yon3zu
LinuXploit