Changeset 148260
- Timestamp:
- 05/23/2021 01:56:28 AM (5 years ago)
- Location:
- lightning/14.2.1
- Files:
-
- 5 edited
- 1 copied
- . (copied) (copied from lightning/14.2.0)
- _g3/functions.php (modified) (1 diff)
- _g3/inc/vk-breadcrumb/package/class-vk-breadcrumb.php (modified) (2 diffs)
- functions.php (modified) (1 diff)
- readme.txt (modified) (2 diffs)
- style.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lightning/14.2.1/_g3/functions.php
r147694 r148260 69 69 array( 70 70 array( 71 'name' => esc_attr__( 'Vivid cyan blue to vivid purple', ' themeLangDomain' ),71 'name' => esc_attr__( 'Vivid cyan blue to vivid purple', 'lightning' ), 72 72 'gradient' => 'linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)', 73 73 'slug' => 'vivid-cyan-blue-to-vivid-purple', 74 74 ), 75 75 array( 76 'name' => esc_attr__( 'Vivid green cyan to vivid cyan blue', ' themeLangDomain' ),76 'name' => esc_attr__( 'Vivid green cyan to vivid cyan blue', 'lightning' ), 77 77 'gradient' => 'linear-gradient(135deg,rgba(0,208,132,1) 0%,rgba(6,147,227,1) 100%)', 78 78 'slug' => 'vivid-green-cyan-to-vivid-cyan-blue', 79 79 ), 80 80 array( 81 'name' => esc_attr__( 'Light green cyan to vivid green cyan', ' themeLangDomain' ),81 'name' => esc_attr__( 'Light green cyan to vivid green cyan', 'lightning' ), 82 82 'gradient' => 'linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%)', 83 83 'slug' => 'light-green-cyan-to-vivid-green-cyan', 84 84 ), 85 85 array( 86 'name' => esc_attr__( 'Luminous vivid amber to luminous vivid orange', ' themeLangDomain' ),86 'name' => esc_attr__( 'Luminous vivid amber to luminous vivid orange', 'lightning' ), 87 87 'gradient' => 'linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)', 88 88 'slug' => 'luminous-vivid-amber-to-luminous-vivid-orange', 89 89 ), 90 90 array( 91 'name' => esc_attr__( 'Luminous vivid orange to vivid red', ' themeLangDomain' ),91 'name' => esc_attr__( 'Luminous vivid orange to vivid red', 'lightning' ), 92 92 'gradient' => 'linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%)', 93 93 'slug' => 'luminous-vivid-orange-to-vivid-red', -
lightning/14.2.1/_g3/inc/vk-breadcrumb/package/class-vk-breadcrumb.php
r148102 r148260 128 128 } // if ( $post->post_parent == 0 ) { 129 129 130 } elseif ( is_post_type_archive() ) {130 } elseif ( is_post_type_archive() && ! is_date() ) { 131 131 $breadcrumb_array[] = array( 132 132 'name' => $post_type_info['name'], … … 136 136 'icon' => '', 137 137 ); 138 } 139 140 if ( ( is_single() || is_archive() ) && ! is_post_type_archive() && ! is_search() ) {141 $breadcrumb_array[] = array(142 'name' => $post_type_info['name'],143 'id' => '',144 'url' => $post_type_info['url'],145 'class'=> '',146 'icon' => '',147 );138 } else if ( ( is_single() || is_archive() ) || is_date() && ! is_post_type_archive() && ! is_search() ) { 139 if ( $post_type_info['slug'] !== 'post' || $post_top_info['use'] ){ 140 $breadcrumb_array[] = array( 141 'name' => $post_type_info['name'], 142 'id' => '', 143 'url' => $post_type_info['url'], 144 'class' => '', 145 'icon' => '', 146 ); 147 } 148 148 } 149 149 -
lightning/14.2.1/functions.php
r147588 r148260 7 7 $g = get_option( 'lightning_theme_generation' ); 8 8 if ( 'g3' === $g ) { 9 return true; 9 $return = true; 10 } else { 11 $options = get_option( 'lightning_theme_options' ); 12 if ( get_option( 'fresh_site' ) || ! $options ) { 13 update_option( 'lightning_theme_generation', 'g3' ); 14 $return = true; 15 } else { 16 $return = false; 17 } 10 18 } 11 12 $options = get_option( 'lightning_theme_options' ); 13 if ( get_option( 'fresh_site' ) || ! $options ) { 14 update_option( 'lightning_theme_generation', 'g3' ); 15 return true; 16 } else { 17 return false; 18 } 19 return apply_filters( 'lightning_is_g3', $return ); 19 20 } 20 21 -
lightning/14.2.1/readme.txt
r148229 r148260 3 3 Lightning WordPress theme is licensed under the GPL. 4 4 Tested up to: 5.7.1 5 Stable tag: 14.2. 05 Stable tag: 14.2.1 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 39 39 40 40 == Changelog == 41 42 v14.2.1 43 [ G3 ][ Bug fix ] Fix Bread Crumb under case of post top page is not specificated 41 44 42 45 v14.2.0 -
lightning/14.2.1/style.css
r148229 r148260 6 6 Author: Vektor,Inc. 7 7 Author URI: https://www.vektor-inc.co.jp 8 Version: 14.2. 08 Version: 14.2.1 9 9 Requires at least: 5.3 10 10 Tested up to: 5.7.0
Note: See TracChangeset for help on using the changeset viewer.