Make WordPress Themes

Changeset 148260

Timestamp:
05/23/2021 01:56:28 AM (5 years ago)
Author:
themedropbox
Message:

New version of Lightning - 14.2.1

Location:
lightning/14.2.1
Files:
5 edited
1 copied

Legend:

Unmodified
Added
Removed
  • lightning/14.2.1/_g3/functions.php

    r147694 r148260  
    6969        array(
    7070            array(
    71                 'name'     => esc_attr__( 'Vivid cyan blue to vivid purple', 'themeLangDomain' ),
     71                'name'     => esc_attr__( 'Vivid cyan blue to vivid purple', 'lightning' ),
    7272                'gradient' => 'linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)',
    7373                'slug'     => 'vivid-cyan-blue-to-vivid-purple',
    7474            ),
    7575            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' ),
    7777                'gradient' => 'linear-gradient(135deg,rgba(0,208,132,1) 0%,rgba(6,147,227,1) 100%)',
    7878                'slug'     => 'vivid-green-cyan-to-vivid-cyan-blue',
    7979            ),
    8080            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' ),
    8282                'gradient' => 'linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%)',
    8383                'slug'     => 'light-green-cyan-to-vivid-green-cyan',
    8484            ),
    8585            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' ),
    8787                'gradient' => 'linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)',
    8888                'slug'     => 'luminous-vivid-amber-to-luminous-vivid-orange',
    8989            ),
    9090            array(
    91                 'name'     => esc_attr__( 'Luminous vivid orange to vivid red', 'themeLangDomain' ),
     91                'name'     => esc_attr__( 'Luminous vivid orange to vivid red', 'lightning' ),
    9292                'gradient' => 'linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%)',
    9393                'slug'     => 'luminous-vivid-orange-to-vivid-red',
  • lightning/14.2.1/_g3/inc/vk-breadcrumb/package/class-vk-breadcrumb.php

    r148102 r148260  
    128128                } // if ( $post->post_parent == 0 ) {
    129129
    130             } elseif ( is_post_type_archive() ) {
     130            } elseif ( is_post_type_archive() && ! is_date() ) {
    131131                $breadcrumb_array[] = array(
    132132                    'name'  => $post_type_info['name'],
     
    136136                    'icon'  => '',
    137137                );
    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                }
    148148            }
    149149
  • lightning/14.2.1/functions.php

    r147588 r148260  
    77    $g = get_option( 'lightning_theme_generation' );
    88    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        }
    1018    }
    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 );
    1920}
    2021
  • lightning/14.2.1/readme.txt

    r148229 r148260  
    33Lightning WordPress theme is licensed under the GPL.
    44Tested up to: 5.7.1
    5 Stable tag: 14.2.0
     5Stable tag: 14.2.1
    66License: GPLv2 or later
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3939
    4040== Changelog ==
     41
     42v14.2.1
     43[ G3 ][ Bug fix ] Fix Bread Crumb under case of post top page is not specificated
    4144
    4245v14.2.0
  • lightning/14.2.1/style.css

    r148229 r148260  
    66Author: Vektor,Inc.
    77Author URI: https://www.vektor-inc.co.jp
    8 Version: 14.2.0
     8Version: 14.2.1
    99Requires at least: 5.3
    1010Tested up to: 5.7.0
Note: See TracChangeset for help on using the changeset viewer.