Make WordPress Themes

Changeset 297578


Ignore:
Timestamp:
11/11/2025 07:57:54 AM (12 months ago)
Author:
themedropbox
Message:

New version of Perfect Ecommerce Store - 0.8.4

Location:
perfect-ecommerce-store/0.8.4
Files:
5 edited
1 copied

Legend:

Unmodified
Added
Removed
  • perfect-ecommerce-store/0.8.4/functions.php

    r287893 r297578  
    409409            <!-- Left Column -->
    410410            <div style="flex: 1; background: #fff; padding: 20px; border: 1px solid #ddd; border-radius: 8px;">
    411                                 <h2 style="margin: 0 0 30px;background: #000;color: #fff;padding: 22px;text-align: center;border-radius: 6px;">Use this coupon code and get 15% discount instantly <span style="background: #ff0000; color: #fff; padding: 5px 10px; border-radius: 5px;margin-left: 10px;">FREEWORDTHEME</span></h2>
     411                                <h5 style="margin: 0 0 30px;background: #000;color: #fff;padding: 22px;text-align: center;border-radius: 6px;">Use this coupon code and get 15% discount instantly <span style="background: #ff0000; color: #fff; padding: 5px 10px; border-radius: 5px;margin-left: 10px;">FREEWORDTHEME</span></h5>
    412412                <img src="<?php echo esc_url($screenshot); ?>" alt="Theme Screenshot" style="max-width: 50%; border: 1px solid #ccc; float: left; margin-right: 20px; border-radius: 8px; border-right-color: #ff0000; border-bottom-color: #ff0000;" />
    413413                                <div style="background: #fff; padding: 20px; border: 1px solid #ddd; border-radius: 8px;">
  • perfect-ecommerce-store/0.8.4/inc/customizer.php

    r275246 r297578  
    354354        ));
    355355
     356        $wp_customize->add_setting('perfect_ecommerce_store_slider_opacity',array(
     357                'default' => '',
     358                'sanitize_callback'     => 'perfect_ecommerce_store_sanitize_float'
     359        ));
     360        $wp_customize->add_control('perfect_ecommerce_store_slider_opacity',array(
     361                'type' => 'range',
     362                'label' => __('Image Opacity','perfect-ecommerce-store'),
     363                'section' => 'perfect_ecommerce_store_slider_section',
     364                'input_attrs' => array(
     365                        'step' => '0.1',
     366                        'min' => '0',
     367                        'max' => '1',
     368                ),
     369        ));
     370
    356371        $wp_customize->add_setting('perfect_ecommerce_store_slider_mtitle_font_size',array(
    357372                'default' => '',
  • perfect-ecommerce-store/0.8.4/lz-custom-style.php

    r275246 r297578  
    9696
    9797        //Slider color
     98        $perfect_ecommerce_store_slider_opacity = get_theme_mod('perfect_ecommerce_store_slider_opacity');
     99        if ( $perfect_ecommerce_store_slider_opacity != '') {
     100                $perfect_ecommerce_store_custom_style .=' #slider img {';
     101                        $perfect_ecommerce_store_custom_style .=' opacity:'.esc_attr($perfect_ecommerce_store_slider_opacity).';';
     102                $perfect_ecommerce_store_custom_style .=' }';
     103        }
     104
    98105        $perfect_ecommerce_store_slider_mtitle_font_size = get_theme_mod('perfect_ecommerce_store_slider_mtitle_font_size');
    99106
  • perfect-ecommerce-store/0.8.4/readme.txt

    r287893 r297578  
    55Tested up to: 6.8
    66Requires PHP: 7.2
    7 Stable tag: 0.8.3
     7Stable tag: 0.8.4
    88License: GNU General Public License v3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
    … …  
    332332= 0.8.3 =
    333333  - Made some changes.
     334
     335= 0.8.4 =
     336  - Added slider image opacity change option in customizer.
  • perfect-ecommerce-store/0.8.4/style.css

    r287893 r297578  
    77Tested up to: 6.8
    88Requires PHP: 7.2
    9 Version: 0.8.3
     9Version: 0.8.4
    1010License: GNU General Public License v3 or later
    1111License URI: http://www.gnu.org/licenses/gpl-3.0.html
Note: See TracChangeset for help on using the changeset viewer.