Make WordPress Themes

Changeset 314100


Ignore:
Timestamp:
02/18/2026 12:43:15 PM (8 months ago)
Author:
themedropbox
Message:

New version of Appliance Ecommerce Store - 1.8

Location:
appliance-ecommerce-store/1.8
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • appliance-ecommerce-store/1.8/assets/css/admin.css

    r309767 r314100  
    2626.appliance-ecommerce-store-tablinks.active {
    2727    background: #fff;
     28}
     29.actions.theme-btns{
     30    margin: 3em 0 !important;
    2831}
    2932
    … …  
    254257    margin: 10px 0;
    255258}
    256 .actions{
    257     margin: 5em 0;
    258     display: flex;
    259     align-items: center;
    260     justify-content: center;
    261 }
    262259.appliance-ecommerce-store-tablinks.active {
    263260    background: #fff !important;
    … …  
    728725    }
    729726}
     727.theme-appliance-ecommerce-store #wpfooter{
     728    position: static !important;
     729    margin-left: 0 !important;
     730}
  • appliance-ecommerce-store/1.8/footer.php

    r290910 r314100  
    99?>
    1010
    11                 </div>
    12                 <footer id="footer" class="site-footer" role="contentinfo">
    13                         <?php
    14                                 get_template_part( 'template-parts/footer/footer', 'widgets' );
     11<footer id="footer" class="site-footer" role="contentinfo">
     12        <?php
     13                get_template_part( 'template-parts/footer/footer', 'widgets' );
    1514
    16                                 get_template_part( 'template-parts/footer/site', 'info' );
    17                         ?>
    18                                         <div class="return-to-header">
    19                                                 <a href="javascript:" id="return-to-top"><i class="<?php echo esc_attr(get_theme_mod('appliance_ecommerce_store_return_icon','fas fa-arrow-up')); ?>"></i></a>
    20                                         </div>
    21                 </footer>
    22         </div>
    23 </div>
     15                get_template_part( 'template-parts/footer/site', 'info' );
     16        ?>
     17                        <div class="return-to-header">
     18                                <a href="javascript:" id="return-to-top"><i class="<?php echo esc_attr(get_theme_mod('appliance_ecommerce_store_return_icon','fas fa-arrow-up')); ?>"></i></a>
     19                        </div>
     20</footer>
    2421<?php wp_footer(); ?>
    2522
  • appliance-ecommerce-store/1.8/functions.php

    r309767 r314100  
    282282add_action( 'widgets_init', 'appliance_ecommerce_store_widgets_init' );
    283283
     284
    284285/**
    285286 * Enqueue scripts and styles.
    286287 */
    287288function appliance_ecommerce_store_scripts() {
     289
    288290        // Add custom fonts, used in the main stylesheet.
    289291        wp_enqueue_style( 'appliance-ecommerce-store-fonts', appliance_ecommerce_store_fonts_url(), array(), null );
    290292
    291         // owl
     293        // Owl Carousel.
    292294        wp_enqueue_style( 'owl-carousel-css', get_theme_file_uri( '/assets/css/owl.carousel.css' ) );
    293295
    294         // Bootstrap
     296        // Bootstrap.
    295297        wp_enqueue_style( 'bootstrap-css', get_theme_file_uri( '/assets/css/bootstrap.css' ) );
    296298
    297299        // Theme stylesheet.
    298300        wp_enqueue_style( 'appliance-ecommerce-store-style', get_stylesheet_uri() );
    299         require get_parent_theme_file_path( '/tp-theme-color.php' );
    300         wp_add_inline_style( 'appliance-ecommerce-store-style',$appliance_ecommerce_store_tp_theme_css );
    301         wp_style_add_data('appliance-ecommerce-store-style', 'rtl', 'replace');
    302         require get_parent_theme_file_path( '/tp-body-width-layout.php' );
    303         wp_add_inline_style( 'appliance-ecommerce-store-style',$appliance_ecommerce_store_tp_theme_css );
    304         wp_style_add_data('appliance-ecommerce-store-style', 'rtl', 'replace');
     301        wp_style_add_data( 'appliance-ecommerce-store-style', 'rtl', 'replace' );
     302
     303        /* ---------- THEME COLOR CSS (INLINE) ---------- */
     304        $appliance_ecommerce_store_tp_theme_css = '';
     305        if ( file_exists( get_parent_theme_file_path( '/tp-theme-color.php' ) ) ) {
     306                require get_parent_theme_file_path( '/tp-theme-color.php' );
     307        }
     308        if ( ! empty( $appliance_ecommerce_store_tp_theme_css ) ) {
     309                wp_add_inline_style( 'appliance-ecommerce-store-style', $appliance_ecommerce_store_tp_theme_css );
     310        }
     311
     312        /* ---------- BODY WIDTH / LAYOUT CSS (INLINE) ---------- */
     313        $appliance_ecommerce_store_tp_layout_css = '';
     314        if ( file_exists( get_parent_theme_file_path( '/tp-body-width-layout.php' ) ) ) {
     315                require get_parent_theme_file_path( '/tp-body-width-layout.php' );
     316        }
     317        if ( ! empty( $appliance_ecommerce_store_tp_layout_css ) ) {
     318                wp_add_inline_style( 'appliance-ecommerce-store-style', $appliance_ecommerce_store_tp_layout_css );
     319        }
    305320
    306321        // Theme block stylesheet.
    307         wp_enqueue_style( 'appliance-ecommerce-store-block-style', get_theme_file_uri( '/assets/css/blocks.css' ), array( 'appliance-ecommerce-store-style' ), '1.0' );
    308 
    309         // Fontawesome
     322        wp_enqueue_style(
     323                'appliance-ecommerce-store-block-style',
     324                get_theme_file_uri( '/assets/css/blocks.css' ),
     325                array( 'appliance-ecommerce-store-style' ),
     326                '1.0'
     327        );
     328
     329        // Font Awesome.
    310330        wp_enqueue_style( 'fontawesome-css', get_theme_file_uri( '/assets/css/fontawesome-all.css' ) );
    311        
    312 
    313         wp_enqueue_script( 'appliance-ecommerce-store-custom-scripts', get_template_directory_uri() . '/assets/js/appliance-ecommerce-store-custom.js', array('jquery'), true );
    314 
    315 
    316         wp_enqueue_script( 'bootstrap-js', get_theme_file_uri( '/assets/js/bootstrap.js' ), array( 'jquery' ), true );
    317 
    318         wp_enqueue_script( 'owl-carousel-js', get_theme_file_uri( '/assets/js/owl.carousel.js' ), array( 'jquery' ), true );
    319 
    320         wp_enqueue_script( 'appliance-ecommerce-store-focus-nav', get_template_directory_uri() . '/assets/js/focus-nav.js', array('jquery'), true);
     331
     332        // Scripts.
     333        wp_enqueue_script(
     334                'appliance-ecommerce-store-custom-scripts',
     335                get_template_directory_uri() . '/assets/js/appliance-ecommerce-store-custom.js',
     336                array( 'jquery' ),
     337                null,
     338                true
     339        );
     340
     341        wp_enqueue_script(
     342                'bootstrap-js',
     343                get_theme_file_uri( '/assets/js/bootstrap.js' ),
     344                array( 'jquery' ),
     345                null,
     346                true
     347        );
     348
     349        wp_enqueue_script(
     350                'owl-carousel-js',
     351                get_theme_file_uri( '/assets/js/owl.carousel.js' ),
     352                array( 'jquery' ),
     353                null,
     354                true
     355        );
     356
     357        wp_enqueue_script(
     358                'appliance-ecommerce-store-focus-nav',
     359                get_template_directory_uri() . '/assets/js/focus-nav.js',
     360                array( 'jquery' ),
     361                null,
     362                true
     363        );
    321364
    322365        if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
    … …  
    324367        }
    325368
    326         $appliance_ecommerce_store_body_font_family = get_theme_mod('appliance_ecommerce_store_body_font_family', '');
    327 
    328         $appliance_ecommerce_store_heading_font_family = get_theme_mod('appliance_ecommerce_store_heading_font_family', '');
    329 
    330         $appliance_ecommerce_store_menu_font_family = get_theme_mod('appliance_ecommerce_store_menu_font_family', '');
    331 
    332         $appliance_ecommerce_store_tp_theme_css = '
    333                 body, p.simplep, .more-btn a{
    334                     font-family: '.esc_html($appliance_ecommerce_store_body_font_family).';
     369        /* ---------- DYNAMIC TYPOGRAPHY CSS (INLINE) ---------- */
     370        $appliance_ecommerce_store_body_font_family    = get_theme_mod( 'appliance_ecommerce_store_body_font_family', '' );
     371        $appliance_ecommerce_store_heading_font_family = get_theme_mod( 'appliance_ecommerce_store_heading_font_family', '' );
     372
     373        $appliance_ecommerce_store_dynamic_typography_css = '
     374                body, p.simplep, .more-btn a {
     375                        font-family: ' . esc_html( $appliance_ecommerce_store_body_font_family ) . ';
    335376                }
    336                 h1,h2, h3, h4, h5, h6, .menubar,.logo h1, .logo p.site-title, p.simplep a, #main-slider p.slidertop-title, .more-btn a,.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button,.wc-block-cart__submit-container a,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, #theme-sidebar button[type="submit"],
    337 #footer button[type="submit"]{
    338                     font-family: '.esc_html($appliance_ecommerce_store_heading_font_family).';
     377                h1, h2, h3, h4, h5, h6, .menubar, .logo h1, .logo p.site-title, p.simplep a,
     378                #main-slider p.slidertop-title, .more-btn a,
     379                .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button,
     380                .wc-block-cart__submit-container a,
     381                .woocommerce #respond input#submit,
     382                .woocommerce a.button,
     383                .woocommerce button.button,
     384                .woocommerce input.button,
     385                .woocommerce #respond input#submit.alt,
     386                .woocommerce a.button.alt,
     387                .woocommerce button.button.alt,
     388                .woocommerce input.button.alt,
     389                #theme-sidebar button[type="submit"],
     390                #footer button[type="submit"] {
     391                        font-family: ' . esc_html( $appliance_ecommerce_store_heading_font_family ) . ';
    339392                }
    340393        ';
    341         wp_add_inline_style('appliance-ecommerce-store-style', $appliance_ecommerce_store_tp_theme_css);
     394
     395        if ( ! empty( trim( $appliance_ecommerce_store_dynamic_typography_css ) ) ) {
     396                wp_add_inline_style( 'appliance-ecommerce-store-style', $appliance_ecommerce_store_dynamic_typography_css );
     397        }
    342398}
    343399add_action( 'wp_enqueue_scripts', 'appliance_ecommerce_store_scripts' );
  • appliance-ecommerce-store/1.8/inc/about-theme.php

    r309767 r314100  
    120120                ?>
    121121
    122                 <p class="actions">
     122                <p class="actions theme-btns">
    123123                        <a target="_blank"href="<?php echo esc_url( APPLIANCE_ECOMMERCE_STORE_FREE_THEME_URL ); ?>" class="theme-info-btn" target="_blank" target="_blank"><?php esc_html_e( 'Theme Info', 'appliance-ecommerce-store' ); ?></a>
    124124                        <a target="_blank" href="<?php echo esc_url( APPLIANCE_ECOMMERCE_STORE_DEMO_THEME_URL ); ?>" class="view-demo" target="_blank"><?php esc_html_e( 'View Demo', 'appliance-ecommerce-store' ); ?></a>
  • appliance-ecommerce-store/1.8/inc/customizer.php

    r304474 r314100  
    13941394        ));
    13951395
     1396        $wp_customize->add_setting('appliance_ecommerce_store_footer_copyright_title_font_weight',array(
     1397        'default' => '',
     1398        'sanitize_callback' => 'appliance_ecommerce_store_sanitize_choices'
     1399        ));
     1400        $wp_customize->add_control('appliance_ecommerce_store_footer_copyright_title_font_weight',array(
     1401     'type' => 'radio',
     1402     'label'     => __('Change Footer Copyright Text Font Weight', 'appliance-ecommerce-store'),
     1403     'section' => 'appliance_ecommerce_store_footer_copyright_section',
     1404     'type' => 'select',
     1405     'choices' => array(
     1406         '100' => __('100','appliance-ecommerce-store'),
     1407         '200' => __('200','appliance-ecommerce-store'),
     1408         '300' => __('300','appliance-ecommerce-store'),
     1409         '400' => __('400','appliance-ecommerce-store'),
     1410         '500' => __('500','appliance-ecommerce-store'),
     1411         '600' => __('600','appliance-ecommerce-store'),
     1412         '700' => __('700','appliance-ecommerce-store'),
     1413         '800' => __('800','appliance-ecommerce-store'),
     1414         '900' => __('900','appliance-ecommerce-store')
     1415     ),
     1416        ) );
     1417
    13961418        $wp_customize->add_setting( 'appliance_ecommerce_store_footer_copyright_text_color', array(
    13971419            'default' => '',
  • appliance-ecommerce-store/1.8/readme.txt

    r309767 r314100  
    55Tested up to: 6.9
    66Requires PHP: 5.6
    7 Stable tag: 1.7
     7Stable tag: 1.8
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    … …  
    6262    * Added three action buttons after successful demo import.
    6363    * Fixed issues with the top notice buttons so the notice is permanently dismissed after closing.
     64
     65= 1.8 =
     66    * Fixed `appliance_ecommerce_store_scripts()` function:
     67      - Corrected multiple `wp_add_inline_style()` calls with proper handle and CSS parameters.
     68      - Removed unused `$appliance_ecommerce_store_menu_font_family` variable.
     69    * Removed multiple stray closing `div` tags causing unbalanced structure.
     70    * Resolved get started css errors.
     71    * Added font weight setting for copyright text.
    6472
    6573== Resources ==
  • appliance-ecommerce-store/1.8/style.css

    r309767 r314100  
    55Author URI: https://www.themespride.com/
    66Description: The Appliance Ecommerce Store theme is a modern, fully responsive solution for building a professional online appliance store. Designed for retailers who want to sell home appliances, Home appliance store, Kitchen electronics shop, Online appliance retailer, Smart home gadgets, Household electronics store, Home appliance marketplace, Electric appliance shop, kitchen gadgets, and smart electronics, this theme combines sleek design with powerful functionality. Whether you are offering refrigerators, washing machines, microwaves, dishwashers, or air conditioners, this theme ensures your products are displayed beautifully and attractively to customers. Fully compatible with WooCommerce, the Appliance Ecommerce Store theme allows you to create product categories, showcase best-selling items, and manage inventory with ease. Features like product search, advanced filters, shopping cart, secure checkout, and multiple payment gateways make shopping smooth for your customers. You can also highlight promotional deals, discounts, and featured products on your homepage to boost sales. Optimized for SEO and mobile devices, the Appliance Ecommerce Store theme ensures your store ranks well on search engines and delivers a seamless shopping experience across desktops, tablets, and smartphones. Customizable headers, footers, and page layouts allow you to create a store that reflects your brand identity. Additional features like image galleries, customer reviews, newsletter integration, and social media support make this theme perfect for appliance retailers looking to grow their online presence. Start building your professional online store today with the Appliance Ecommerce Store theme and provide customers with an easy, engaging, and enjoyable shopping experience. Demo Link - https://page.themespride.com/appliance-ecommerce-store/
    7 Version: 1.7
     7Version: 1.8
    88Tested up to: 6.9
    99Requires PHP: 5.6
  • appliance-ecommerce-store/1.8/tp-theme-color.php

    r290910 r314100  
    101101        $appliance_ecommerce_store_tp_theme_css .='}';
    102102}
     103
     104
     105//Footer Font Weight
     106$appliance_ecommerce_store_footer_copyright_title_font_weight = get_theme_mod( 'appliance_ecommerce_store_footer_copyright_title_font_weight','');
     107if($appliance_ecommerce_store_footer_copyright_title_font_weight == '100'){
     108$appliance_ecommerce_store_tp_theme_css .='#footer .site-info p {';
     109    $appliance_ecommerce_store_tp_theme_css .='font-weight: 100;';
     110$appliance_ecommerce_store_tp_theme_css .='}';
     111}else if($appliance_ecommerce_store_footer_copyright_title_font_weight == '200'){
     112$appliance_ecommerce_store_tp_theme_css .='#footer .site-info p {';
     113    $appliance_ecommerce_store_tp_theme_css .='font-weight: 200;';
     114$appliance_ecommerce_store_tp_theme_css .='}';
     115}else if($appliance_ecommerce_store_footer_copyright_title_font_weight == '300'){
     116$appliance_ecommerce_store_tp_theme_css .='#footer .site-info p {';
     117    $appliance_ecommerce_store_tp_theme_css .='font-weight: 300;';
     118$appliance_ecommerce_store_tp_theme_css .='}';
     119}else if($appliance_ecommerce_store_footer_copyright_title_font_weight == '400'){
     120$appliance_ecommerce_store_tp_theme_css .='#footer .site-info p {';
     121    $appliance_ecommerce_store_tp_theme_css .='font-weight: 400;';
     122$appliance_ecommerce_store_tp_theme_css .='}';
     123}else if($appliance_ecommerce_store_footer_copyright_title_font_weight == '500'){
     124$appliance_ecommerce_store_tp_theme_css .='#footer .site-info p {';
     125    $appliance_ecommerce_store_tp_theme_css .='font-weight: 500;';
     126$appliance_ecommerce_store_tp_theme_css .='}';
     127}else if($appliance_ecommerce_store_footer_copyright_title_font_weight == '600'){
     128$appliance_ecommerce_store_tp_theme_css .='#footer .site-info p {';
     129    $appliance_ecommerce_store_tp_theme_css .='font-weight: 600;';
     130$appliance_ecommerce_store_tp_theme_css .='}';
     131}else if($appliance_ecommerce_store_footer_copyright_title_font_weight == '700'){
     132$appliance_ecommerce_store_tp_theme_css .='#footer .site-info p {';
     133    $appliance_ecommerce_store_tp_theme_css .='font-weight: 700;';
     134$appliance_ecommerce_store_tp_theme_css .='}';
     135}else if($appliance_ecommerce_store_footer_copyright_title_font_weight == '800'){
     136$appliance_ecommerce_store_tp_theme_css .='#footer .site-info p {';
     137    $appliance_ecommerce_store_tp_theme_css .='font-weight: 800;';
     138$appliance_ecommerce_store_tp_theme_css .='}';
     139}else if($appliance_ecommerce_store_footer_copyright_title_font_weight == '900'){
     140$appliance_ecommerce_store_tp_theme_css .='#footer .site-info p {';
     141    $appliance_ecommerce_store_tp_theme_css .='font-weight: 900;';
     142$appliance_ecommerce_store_tp_theme_css .='}';
     143}
Note: See TracChangeset for help on using the changeset viewer.