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.191.54.190
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/customizer/fields/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/cynthiaadediran.com/wp-content/themes/gerold/inc/customizer/fields/theme-logos.php
<?php

/**
 * Customizer Logos & Favicon
 *
 * style for theme logos & favicon
 */

$fields[] = [
  'type'     => 'custom',
  'settings' => 'logos_custom_01',
  'label'    => FALSE,
  'section'  => 'gerold_theme_logos',
  'default'  => '<div class="customizer_label">' . esc_html__('Site Logos', 'gerold') . '</div>',
  'active_callback' => [
    [
      'setting'  => 'select_headers',
      'operator' => '==',
      'value'    => 'default',
    ]
  ],
];
// primary logo
$fields[] = [
  'type'     => 'image',
  'settings' => 'primary_logo',
  'label'    => esc_html__('Primary Logo', 'gerold'),
  'section'  => 'gerold_theme_logos',
  'default'     => GEROLD_ASSETS_IMAGES_URL . '/logos/logo-primary.png',
  'active_callback' => [
    [
      'setting'  => 'select_headers',
      'operator' => '==',
      'value'    => 'default',
    ]
  ],
];
$fields[] = [
  'type'     => 'dimensions',
  'settings' => 'primary_logo_dimension',
  'section'  => 'gerold_theme_logos',
  'default'     => [
    'max-width'  => '60px',
    'height' => 'auto',
  ],
  'choices'     => [
    'labels' => [
      'max-width'  => esc_html__('Max Width', 'gerold'),
      'height' => esc_html__('Height', 'gerold'),
    ],
  ],
  'transport'   => 'auto',
  'output'      => [
    [
      'choice'   => 'max-width',
      'element'  => '.tj-header-area .logo-box .primary-logo',
      'property' => 'max-width',
    ],
    [
      'choice'   => 'height',
      'element'  => '.tj-header-area .logo-box .primary-logo img',
      'property' => 'height',
    ],
  ],
  'active_callback' => [
    [
      'setting'  => 'select_headers',
      'operator' => '==',
      'value'    => 'default',
    ]
  ],
];
// secondary logo
$fields[] = [
  'type'     => 'image',
  'settings' => 'secondary_logo',
  'label'    => esc_html__('Secondary Logo', 'gerold'),
  'section'  => 'gerold_theme_logos',
  'default'     => GEROLD_ASSETS_IMAGES_URL . '/logos/logo-secondary.png',
  'active_callback' => [
    [
      'setting'  => 'select_headers',
      'operator' => '==',
      'value'    => 'default',
    ]
  ],
];
$fields[] = [
  'type'     => 'dimensions',
  'settings' => 'secondary_logo_dimension',
  'section'  => 'gerold_theme_logos',
  'default'     => [
    'max-width'  => '60px',
    'height' => 'auto',
  ],
  'choices'     => [
    'labels' => [
      'max-width'  => esc_html__('Max Width', 'gerold'),
      'height' => esc_html__('Height', 'gerold'),
    ],
  ],
  'transport'   => 'auto',
  'output'      => [
    [
      'choice'   => 'max-width',
      'element'  => '.tj-header-area .logo-box .secondary-logo',
      'property' => 'max-width',
    ],
    [
      'choice'   => 'height',
      'element'  => '.tj-header-area .logo-box .secondary-logo img',
      'property' => 'height',
    ],
  ],
  'active_callback' => [
    [
      'setting'  => 'select_headers',
      'operator' => '==',
      'value'    => 'default',
    ]
  ],
];
// Footer logo
$fields[] = [
  'type'     => 'image',
  'settings' => 'footer_logo',
  'label'    => esc_html__('Footer Logo', 'gerold'),
  'section'  => 'gerold_theme_logos',
  'default'     => GEROLD_ASSETS_IMAGES_URL . '/logos/logo-primary.png',
  'active_callback' => [
    [
      'setting'  => 'select_footers',
      'operator' => '==',
      'value'    => 'default',
    ]
  ],
];
$fields[] = [
  'type'     => 'dimensions',
  'settings' => 'footer_logo_dimension',
  'section'  => 'gerold_theme_logos',
  'default'     => [
    'max-width'  => '75px',
    'height' => 'auto',
  ],
  'choices'     => [
    'labels' => [
      'max-width'  => esc_html__('Max Width', 'gerold'),
      'height' => esc_html__('Height', 'gerold'),
    ],
  ],
  'transport'   => 'auto',
  'output'      => [
    [
      'choice'   => 'max-width',
      'element'  => '.footer-logo-box',
      'property' => 'max-width',
    ],
    [
      'choice'   => 'height',
      'element'  => '.footer-logo-box img',
      'property' => 'height',
    ],
  ],
  'active_callback' => [
    [
      'setting'  => 'select_footers',
      'operator' => '==',
      'value'    => 'default',
    ]
  ],
];

Youez - 2016 - github.com/yon3zu
LinuXploit