Make WordPress Themes

Changeset 314099


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

New version of Air Condition Repair - 1.9

Location:
air-condition-repair/1.9
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • air-condition-repair/1.9/assets/css/admin.css

    r309765 r314099  
    2626.air-condition-repair-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.air-condition-repair-tablinks.active {
    263260    background: #fff !important;
    … …  
    728725    }
    729726}
     727
     728.theme-air-condition-repair #wpfooter{
     729    position: static !important;
     730    margin-left: 0 !important;
     731}
  • air-condition-repair/1.9/footer.php

    r288418 r314099  
    88
    99?>
     10<footer id="footer" class="site-footer" role="contentinfo">
     11        <?php
     12                get_template_part( 'template-parts/footer/footer', 'widgets' );
    1013
    11                 </div>
    12                 <footer id="footer" class="site-footer" role="contentinfo">
    13                         <?php
    14                                 get_template_part( 'template-parts/footer/footer', 'widgets' );
    15 
    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('air_condition_repair_return_icon','fas fa-arrow-up')); ?>"></i></a>
    20                                         </div>
    21                 </footer>
    22         </div>
    23 </div>
     14                get_template_part( 'template-parts/footer/site', 'info' );
     15        ?>
     16                        <div class="return-to-header">
     17                                <a href="javascript:" id="return-to-top"><i class="<?php echo esc_attr(get_theme_mod('air_condition_repair_return_icon','fas fa-arrow-up')); ?>"></i></a>
     18                        </div>
     19</footer>
    2420<?php wp_footer(); ?>
    2521
  • air-condition-repair/1.9/functions.php

    r309765 r314099  
    285285 */
    286286function air_condition_repair_scripts() {
     287
    287288        // Add custom fonts, used in the main stylesheet.
    288289        wp_enqueue_style( 'air-condition-repair-fonts', air_condition_repair_fonts_url(), array(), null );
    289290
    290         // owl
     291        // Owl Carousel.
    291292        wp_enqueue_style( 'owl-carousel-css', get_theme_file_uri( '/assets/css/owl.carousel.css' ) );
    292293
    293         // Bootstrap
     294        // Bootstrap.
    294295        wp_enqueue_style( 'bootstrap-css', get_theme_file_uri( '/assets/css/bootstrap.css' ) );
    295296
    296297        // Theme stylesheet.
    297298        wp_enqueue_style( 'air-condition-repair-style', get_stylesheet_uri() );
    298         require get_parent_theme_file_path( '/tp-theme-color.php' );
    299         wp_add_inline_style( 'air-condition-repair-style',$air_condition_repair_tp_theme_css );
    300         wp_style_add_data('air-condition-repair-style', 'rtl', 'replace');
    301         require get_parent_theme_file_path( '/tp-body-width-layout.php' );
    302         wp_add_inline_style( 'air-condition-repair-style',$air_condition_repair_tp_theme_css );
    303         wp_style_add_data('air-condition-repair-style', 'rtl', 'replace');
     299        wp_style_add_data( 'air-condition-repair-style', 'rtl', 'replace' );
     300
     301        /* ---------- THEME COLOR CSS (INLINE) ---------- */
     302        $air_condition_repair_tp_theme_css = '';
     303        if ( file_exists( get_parent_theme_file_path( '/tp-theme-color.php' ) ) ) {
     304                require get_parent_theme_file_path( '/tp-theme-color.php' );
     305        }
     306        if ( ! empty( $air_condition_repair_tp_theme_css ) ) {
     307                wp_add_inline_style( 'air-condition-repair-style', $air_condition_repair_tp_theme_css );
     308        }
     309
     310        /* ---------- BODY WIDTH / LAYOUT CSS (INLINE) ---------- */
     311        $air_condition_repair_tp_layout_css = '';
     312        if ( file_exists( get_parent_theme_file_path( '/tp-body-width-layout.php' ) ) ) {
     313                require get_parent_theme_file_path( '/tp-body-width-layout.php' );
     314        }
     315        if ( ! empty( $air_condition_repair_tp_layout_css ) ) {
     316                wp_add_inline_style( 'air-condition-repair-style', $air_condition_repair_tp_layout_css );
     317        }
    304318
    305319        // Theme block stylesheet.
    306         wp_enqueue_style( 'air-condition-repair-block-style', get_theme_file_uri( '/assets/css/blocks.css' ), array( 'air-condition-repair-style' ), '1.0' );
    307 
    308         // Fontawesome
     320        wp_enqueue_style(
     321                'air-condition-repair-block-style',
     322                get_theme_file_uri( '/assets/css/blocks.css' ),
     323                array( 'air-condition-repair-style' ),
     324                '1.0'
     325        );
     326
     327        // Font Awesome.
    309328        wp_enqueue_style( 'fontawesome-css', get_theme_file_uri( '/assets/css/fontawesome-all.css' ) );
    310        
    311 
    312         wp_enqueue_script( 'air-condition-repair-custom-scripts', get_template_directory_uri() . '/assets/js/air-condition-repair-custom.js', array('jquery'), true );
    313 
    314 
    315         wp_enqueue_script( 'bootstrap-js', get_theme_file_uri( '/assets/js/bootstrap.js' ), array( 'jquery' ), true );
    316 
    317         wp_enqueue_script( 'owl-carousel-js', get_theme_file_uri( '/assets/js/owl.carousel.js' ), array( 'jquery' ), true );
    318 
    319         wp_enqueue_script( 'air-condition-repair-focus-nav', get_template_directory_uri() . '/assets/js/focus-nav.js', array('jquery'), true);
     329
     330        // Scripts.
     331        wp_enqueue_script(
     332                'air-condition-repair-custom-scripts',
     333                get_template_directory_uri() . '/assets/js/air-condition-repair-custom.js',
     334                array( 'jquery' ),
     335                null,
     336                true
     337        );
     338
     339        wp_enqueue_script(
     340                'bootstrap-js',
     341                get_theme_file_uri( '/assets/js/bootstrap.js' ),
     342                array( 'jquery' ),
     343                null,
     344                true
     345        );
     346
     347        wp_enqueue_script(
     348                'owl-carousel-js',
     349                get_theme_file_uri( '/assets/js/owl.carousel.js' ),
     350                array( 'jquery' ),
     351                null,
     352                true
     353        );
     354
     355        wp_enqueue_script(
     356                'air-condition-repair-focus-nav',
     357                get_template_directory_uri() . '/assets/js/focus-nav.js',
     358                array( 'jquery' ),
     359                null,
     360                true
     361        );
    320362
    321363        if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
    … …  
    323365        }
    324366
    325         $air_condition_repair_body_font_family = get_theme_mod('air_condition_repair_body_font_family', '');
    326 
    327         $air_condition_repair_heading_font_family = get_theme_mod('air_condition_repair_heading_font_family', '');
    328 
    329         $air_condition_repair_menu_font_family = get_theme_mod('air_condition_repair_menu_font_family', '');
    330 
    331         $air_condition_repair_tp_theme_css = '
    332                 body, p.simplep, .more-btn a{
    333                     font-family: '.esc_html($air_condition_repair_body_font_family).';
     367        /* ---------- DYNAMIC TYPOGRAPHY CSS (INLINE) ---------- */
     368        $air_condition_repair_body_font_family    = get_theme_mod( 'air_condition_repair_body_font_family', '' );
     369        $air_condition_repair_heading_font_family = get_theme_mod( 'air_condition_repair_heading_font_family', '' );
     370
     371        $air_condition_repair_dynamic_typography_css = '
     372                body, p.simplep, .more-btn a {
     373                        font-family: ' . esc_html( $air_condition_repair_body_font_family ) . ';
    334374                }
    335                 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"],
    336 #footer button[type="submit"]{
    337                     font-family: '.esc_html($air_condition_repair_heading_font_family).';
     375                h1, h2, h3, h4, h5, h6, .menubar, .logo h1, .logo p.site-title, p.simplep a,
     376                #main-slider p.slidertop-title, .more-btn a,
     377                .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button,
     378                .wc-block-cart__submit-container a,
     379                .woocommerce #respond input#submit,
     380                .woocommerce a.button,
     381                .woocommerce button.button,
     382                .woocommerce input.button,
     383                .woocommerce #respond input#submit.alt,
     384                .woocommerce a.button.alt,
     385                .woocommerce button.button.alt,
     386                .woocommerce input.button.alt,
     387                #theme-sidebar button[type="submit"],
     388                #footer button[type="submit"] {
     389                        font-family: ' . esc_html( $air_condition_repair_heading_font_family ) . ';
    338390                }
    339391        ';
    340         wp_add_inline_style('air-condition-repair-style', $air_condition_repair_tp_theme_css);
     392
     393        if ( ! empty( trim( $air_condition_repair_dynamic_typography_css ) ) ) {
     394                wp_add_inline_style( 'air-condition-repair-style', $air_condition_repair_dynamic_typography_css );
     395        }
    341396}
    342397add_action( 'wp_enqueue_scripts', 'air_condition_repair_scripts' );
  • air-condition-repair/1.9/inc/about-theme.php

    r309765 r314099  
    120120                ?>
    121121
    122                 <p class="actions">
     122                <p class="actions theme-btns">
    123123                        <a target="_blank"href="<?php echo esc_url( AIR_CONDITION_REPAIR_FREE_THEME_URL ); ?>" class="theme-info-btn" target="_blank" target="_blank"><?php esc_html_e( 'Theme Info', 'air-condition-repair' ); ?></a>
    124124                        <a target="_blank" href="<?php echo esc_url( AIR_CONDITION_REPAIR_DEMO_THEME_URL ); ?>" class="view-demo" target="_blank"><?php esc_html_e( 'View Demo', 'air-condition-repair' ); ?></a>
  • air-condition-repair/1.9/inc/customizer.php

    r304472 r314099  
    702702        ) );
    703703
    704         $wp_customize->add_setting('air_condition_repair_menu_font_family', array(
    705                 'default'           => '',
    706                 'capability'        => 'edit_theme_options',
    707                 'sanitize_callback' => 'air_condition_repair_sanitize_choices',
    708         ));
    709         $wp_customize->add_control(     'air_condition_repair_menu_font_family', array(
    710                 'section' => 'air_condition_repair_menu_typography',
    711                 'label'   => __('Menu Fonts', 'air-condition-repair'),
    712                 'type'    => 'select',
    713                 'choices' => $air_condition_repair_font_array,
    714         ));
    715 
    716704        $wp_customize->add_setting('air_condition_repair_menu_font_weight',array(
    717705        'default' => '',
    … …  
    16271615                ),
    16281616        ));
     1617
     1618        $wp_customize->add_setting('air_condition_repair_footer_copyright_title_font_weight',array(
     1619        'default' => '',
     1620        'sanitize_callback' => 'air_condition_repair_sanitize_choices'
     1621        ));
     1622        $wp_customize->add_control('air_condition_repair_footer_copyright_title_font_weight',array(
     1623     'type' => 'radio',
     1624     'label'     => __('Change Footer Copyright Text Font Weight', 'air-condition-repair'),
     1625     'section' => 'air_condition_repair_footer_copyright_section',
     1626     'type' => 'select',
     1627     'choices' => array(
     1628         '100' => __('100','air-condition-repair'),
     1629         '200' => __('200','air-condition-repair'),
     1630         '300' => __('300','air-condition-repair'),
     1631         '400' => __('400','air-condition-repair'),
     1632         '500' => __('500','air-condition-repair'),
     1633         '600' => __('600','air-condition-repair'),
     1634         '700' => __('700','air-condition-repair'),
     1635         '800' => __('800','air-condition-repair'),
     1636         '900' => __('900','air-condition-repair')
     1637     ),
     1638        ) );
    16291639
    16301640        $wp_customize->add_setting( 'air_condition_repair_footer_copyright_text_color', array(
  • air-condition-repair/1.9/readme.txt

    r309765 r314099  
    55Tested up to: 6.9
    66Requires PHP: 5.6
    7 Stable tag: 1.8
     7Stable tag: 1.9
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    … …  
    6767    * Added three action buttons after successful demo import.
    6868    * Fixed issues with the top notice buttons so the notice is permanently dismissed after closing.
     69
     70= 1.9 =
     71    * Fixed `air_condition_repair_scripts()` function:
     72      - Corrected multiple `wp_add_inline_style()` calls with proper handle and CSS parameters.
     73      - Removed unused `$air_condition_repair_menu_font_family` variable.
     74    * Removed multiple stray closing `div` tags causing unbalanced structure.
     75    * Resolved get started css errors.
     76    * Added font weight setting for copyright text.
    6977
    7078== Resources ==
  • air-condition-repair/1.9/style.css

    r309765 r314099  
    55Author URI: https://www.themespride.com/
    66Description: The Air Condition Repair is a multipurpose, minimal, and elegant theme designed to give businesses in HVAC service providers, AC repair services, heating and cooling companies, ventilation contractors, air conditioning installation, AC maintenance, furnace repair services, plumbing services, AC repair service, Air conditioner maintenance, HVAC technician, Cooling system repair, AC installation service, Home air conditioning, Split AC service, cleaning services, electricians, home improvement businesses, appliance repair shops, refrigeration services, duct cleaning agencies, and other service-based companies a sophisticated online presence. With a clean layout and retina-ready design, it ensures every detail of your website looks beautiful across all devices. Its responsive and mobile-friendly framework allows customers to browse effortlessly, while optimized codes guarantee faster page load times for a smooth user experience. This theme is user-friendly and developer-friendly, offering flexible personalization options and easy customization through shortcodes and built-in tools. Whether you run an air conditioning repair agency, HVAC contractor business, service company, or a personal portfolio, this theme adapts seamlessly to your needs. The design features an engaging banner area with a Call to Action (CTA) button, making it simple to capture leads. The testimonial section and team showcase help build trust, while social media integration expands your reach. Interactive and animated elements give your site a modern and stunning appearance, while the bootstrap framework ensures robust functionality. Its clean, secure code makes it reliable, while translation-ready features allow you to cater to a global audience. The Air Condition Repair offers agency-friendly features, making it perfect for both small businesses and large service companies aiming for a professional image. With luxurious styling and advanced customization options, you can highlight services, promotions, and expertise in a way that reflects your brand’s values. This modern, optimized, and beautifully structured theme not only enhances visual appeal but also improves performance, giving your visitors an elegant and interactive experience every time they visit your site, and it integrates seamlessly with the Contact Form 7 plugin to streamline customer inquiries and service requests. Demo Link – https://page.themespride.com/air-condition-repair/
    7 Version: 1.8
     7Version: 1.9
    88Tested up to: 6.9
    99Requires PHP: 5.6
  • air-condition-repair/1.9/tp-theme-color.php

    r288418 r314099  
    109109        $air_condition_repair_tp_theme_css .='}';
    110110}
     111
     112
     113//Footer Font Weight
     114$air_condition_repair_footer_copyright_title_font_weight = get_theme_mod( 'air_condition_repair_footer_copyright_title_font_weight','');
     115if($air_condition_repair_footer_copyright_title_font_weight == '100'){
     116$air_condition_repair_tp_theme_css .='#footer .site-info p {';
     117    $air_condition_repair_tp_theme_css .='font-weight: 100;';
     118$air_condition_repair_tp_theme_css .='}';
     119}else if($air_condition_repair_footer_copyright_title_font_weight == '200'){
     120$air_condition_repair_tp_theme_css .='#footer .site-info p {';
     121    $air_condition_repair_tp_theme_css .='font-weight: 200;';
     122$air_condition_repair_tp_theme_css .='}';
     123}else if($air_condition_repair_footer_copyright_title_font_weight == '300'){
     124$air_condition_repair_tp_theme_css .='#footer .site-info p {';
     125    $air_condition_repair_tp_theme_css .='font-weight: 300;';
     126$air_condition_repair_tp_theme_css .='}';
     127}else if($air_condition_repair_footer_copyright_title_font_weight == '400'){
     128$air_condition_repair_tp_theme_css .='#footer .site-info p {';
     129    $air_condition_repair_tp_theme_css .='font-weight: 400;';
     130$air_condition_repair_tp_theme_css .='}';
     131}else if($air_condition_repair_footer_copyright_title_font_weight == '500'){
     132$air_condition_repair_tp_theme_css .='#footer .site-info p {';
     133    $air_condition_repair_tp_theme_css .='font-weight: 500;';
     134$air_condition_repair_tp_theme_css .='}';
     135}else if($air_condition_repair_footer_copyright_title_font_weight == '600'){
     136$air_condition_repair_tp_theme_css .='#footer .site-info p {';
     137    $air_condition_repair_tp_theme_css .='font-weight: 600;';
     138$air_condition_repair_tp_theme_css .='}';
     139}else if($air_condition_repair_footer_copyright_title_font_weight == '700'){
     140$air_condition_repair_tp_theme_css .='#footer .site-info p {';
     141    $air_condition_repair_tp_theme_css .='font-weight: 700;';
     142$air_condition_repair_tp_theme_css .='}';
     143}else if($air_condition_repair_footer_copyright_title_font_weight == '800'){
     144$air_condition_repair_tp_theme_css .='#footer .site-info p {';
     145    $air_condition_repair_tp_theme_css .='font-weight: 800;';
     146$air_condition_repair_tp_theme_css .='}';
     147}else if($air_condition_repair_footer_copyright_title_font_weight == '900'){
     148$air_condition_repair_tp_theme_css .='#footer .site-info p {';
     149    $air_condition_repair_tp_theme_css .='font-weight: 900;';
     150$air_condition_repair_tp_theme_css .='}';
     151}
Note: See TracChangeset for help on using the changeset viewer.