Changeset 232467 for lightning/15.25.0
- Timestamp:
- 06/24/2024 07:24:42 AM (17 months ago)
- Location:
- lightning/15.25.0
- Files:
-
- 7 edited
- 1 copied
- . (copied) (copied from lightning/15.24.0)
- _g3/inc/customize/customize-design.php (modified) (4 diffs)
- readme.txt (modified) (2 diffs)
- style.css (modified) (1 diff)
- vendor/autoload.php (modified) (1 diff)
- vendor/composer/autoload_real.php (modified) (3 diffs)
- vendor/composer/autoload_static.php (modified) (2 diffs)
- vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lightning/15.25.0/_g3/inc/customize/customize-design.php
r155349 r232467 1 1 <?php 2 2 /* 3 customize_register3 customize_register 4 4 /*-------------------------------------------*/ 5 5 add_action( 'customize_register', 'lightning_customize_register_design' ); … … 66 66 ); 67 67 68 // Logo max height (PC) 69 $wp_customize->add_setting( 70 'lightning_theme_options[logo_max_height_pc]', 71 array( 72 'default' => '', 73 'type' => 'option', 74 'capability' => 'edit_theme_options', 75 'sanitize_callback' => 'absint', 76 ) 77 ); 78 $wp_customize->add_control( 79 new VK_Custom_Text_Control( 80 $wp_customize, 81 'logo_max_height_pc', 82 array( 83 'label' => __( 'Logo max height [ PC ]', 'lightning' ), 84 'section' => 'lightning_design', 85 'settings' => 'lightning_theme_options[logo_max_height_pc]', 86 'type' => 'number', 87 'priority' => 502, 88 'description' => '', 89 'input_after' => 'px', 90 ) 91 ) 92 ); 93 94 // Logo max height (Mobile) 95 $wp_customize->add_setting( 96 'lightning_theme_options[logo_max_height_mobile]', 97 array( 98 'default' => '', 99 'type' => 'option', 100 'capability' => 'edit_theme_options', 101 'sanitize_callback' => 'absint', 102 ) 103 ); 104 $wp_customize->add_control( 105 new VK_Custom_Text_Control( 106 $wp_customize, 107 'logo_max_height_mobile', 108 array( 109 'label' => __( 'Logo max height [ Mobile ]', 'lightning' ), 110 'section' => 'lightning_design', 111 'settings' => 'lightning_theme_options[logo_max_height_mobile]', 112 'type' => 'number', 113 'priority' => 503, 114 'description' => '', 115 'input_after' => 'px', 116 ) 117 ) 118 ); 119 68 120 /********************************************* 69 121 * Color Setting … … 113 165 ) 114 166 ); 115 116 167 } 117 168 … … 139 190 } 140 191 '; 192 193 // Logo max height 194 $max_height_pc = ! empty( $options['logo_max_height_pc'] ) ? absint( $options['logo_max_height_pc'] ) : ''; 195 $max_height_mobile = ! empty( $options['logo_max_height_mobile'] ) ? absint( $options['logo_max_height_mobile'] ) : ''; 196 197 if ( $max_height_pc ) { 198 $dynamic_css .= '@media (min-width: 992px) { .site-header-logo img { max-height: ' . $max_height_pc . 'px; } }'; 199 } 200 if ( $max_height_mobile ) { 201 $dynamic_css .= '@media (max-width: 991px) { .site-header-logo img { max-height: ' . $max_height_mobile . 'px; } }'; 202 } 203 141 204 // delete before after space. 142 205 $dynamic_css = trim( $dynamic_css ); -
lightning/15.25.0/readme.txt
r231723 r232467 3 3 Lightning WordPress theme is licensed under the GPL. 4 4 Tested up to: 6.5 5 Stable tag: 15.2 4.05 Stable tag: 15.25.0 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 37 37 38 38 == Changelog == 39 40 v15.25.0 41 [ G3 ][ Add function ] Add max height setteing for header logo. 39 42 40 43 v15.24.0 -
lightning/15.25.0/style.css
r231723 r232467 6 6 Author: Vektor,Inc. 7 7 Author URI: https://www.vektor-inc.co.jp 8 Version: 15.2 4.08 Version: 15.25.0 9 9 Requires at least: 5.9 10 10 Tested up to: 6.5 -
lightning/15.25.0/vendor/autoload.php
r231723 r232467 10 10 require_once __DIR__ . '/composer/autoload_real.php'; 11 11 12 return ComposerAutoloaderInit 2235211c1b962bf27f759bf59c715a1e::getLoader();12 return ComposerAutoloaderInitd2e1be9678aadebf4ba68a3ac3270dc0::getLoader(); -
lightning/15.25.0/vendor/composer/autoload_real.php
r231723 r232467 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 2235211c1b962bf27f759bf59c715a1e5 class ComposerAutoloaderInitd2e1be9678aadebf4ba68a3ac3270dc0 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 2235211c1b962bf27f759bf59c715a1e', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInitd2e1be9678aadebf4ba68a3ac3270dc0', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit 2235211c1b962bf27f759bf59c715a1e', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInitd2e1be9678aadebf4ba68a3ac3270dc0', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit 2235211c1b962bf27f759bf59c715a1e::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInitd2e1be9678aadebf4ba68a3ac3270dc0::getInitializer($loader)); 33 33 34 34 $loader->register(true); 35 35 36 $includeFiles = \Composer\Autoload\ComposerStaticInit 2235211c1b962bf27f759bf59c715a1e::$files;36 $includeFiles = \Composer\Autoload\ComposerStaticInitd2e1be9678aadebf4ba68a3ac3270dc0::$files; 37 37 foreach ($includeFiles as $fileIdentifier => $file) { 38 composerRequire 2235211c1b962bf27f759bf59c715a1e($fileIdentifier, $file);38 composerRequired2e1be9678aadebf4ba68a3ac3270dc0($fileIdentifier, $file); 39 39 } 40 40 … … 48 48 * @return void 49 49 */ 50 function composerRequire 2235211c1b962bf27f759bf59c715a1e($fileIdentifier, $file)50 function composerRequired2e1be9678aadebf4ba68a3ac3270dc0($fileIdentifier, $file) 51 51 { 52 52 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
lightning/15.25.0/vendor/composer/autoload_static.php
r231723 r232467 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 2235211c1b962bf27f759bf59c715a1e7 class ComposerStaticInitd2e1be9678aadebf4ba68a3ac3270dc0 8 8 { 9 9 public static $files = array ( … … 65 65 { 66 66 return \Closure::bind(function () use ($loader) { 67 $loader->prefixLengthsPsr4 = ComposerStaticInit 2235211c1b962bf27f759bf59c715a1e::$prefixLengthsPsr4;68 $loader->prefixDirsPsr4 = ComposerStaticInit 2235211c1b962bf27f759bf59c715a1e::$prefixDirsPsr4;69 $loader->classMap = ComposerStaticInit 2235211c1b962bf27f759bf59c715a1e::$classMap;67 $loader->prefixLengthsPsr4 = ComposerStaticInitd2e1be9678aadebf4ba68a3ac3270dc0::$prefixLengthsPsr4; 68 $loader->prefixDirsPsr4 = ComposerStaticInitd2e1be9678aadebf4ba68a3ac3270dc0::$prefixDirsPsr4; 69 $loader->classMap = ComposerStaticInitd2e1be9678aadebf4ba68a3ac3270dc0::$classMap; 70 70 71 71 }, null, ClassLoader::class); -
lightning/15.25.0/vendor/composer/installed.php
r231723 r232467 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' 979afd45f6be236fb7a1148a6dc5b679423cfaea',6 'reference' => '62335901064812d5d91b0936ded76209696bdfb8', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 23 23 'pretty_version' => 'dev-master', 24 24 'version' => 'dev-master', 25 'reference' => ' 979afd45f6be236fb7a1148a6dc5b679423cfaea',25 'reference' => '62335901064812d5d91b0936ded76209696bdfb8', 26 26 'type' => 'library', 27 27 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.