Make WordPress Themes

Changeset 299106


Ignore:
Timestamp:
11/19/2025 05:42:14 AM (5 days ago)
Author:
themedropbox
Message:

New version of Home Automation - 5.5

Location:
home-automation/5.5
Files:
7 edited
1 copied

Legend:

Unmodified
Added
Removed
  • home-automation/5.5/core/includes/class-upgrade-pro.php

    r267549 r299106  
    6868        $manager->register_section_type( 'Home_Automation_Customize_Section_Pro' );
    6969
     70        // Add the PRO Upgrade section.
    7071        $manager->add_section(
    71             new Home_Automation_Customize_Section_Pro(
    72                 $manager,
    73                 'home_automation_upgrade_pro',
    74                 array(
    75                     'title'       => esc_html__( 'Upgrade to Home Automation PRO', 'home-automation' ),
    76                     'description' => esc_html__( 'Unlock premium features: Multiple Sections, Color Pallete, Typography, Premium Support and much more...', 'home-automation' ),
    77                     'pro_text'    => esc_html__( 'Home Automation PRO', 'home-automation' ),
    78                     'pro_url'     => esc_url( HOME_AUTOMATION_BUY_NOW ),
    79                     'bundle_text' => esc_html__( 'Get All Themes In Single Pack', 'home-automation' ),
    80                     'bundle_url'  => esc_url( HOME_AUTOMATION_THEME_BUNDLE ),
    81                     'priority'    => 1,
    82                 )
    83             )
     72            new Home_Automation_Customize_Section_Pro(
     73                $manager,
     74                'home_automation_upgrade_pro',
     75                array(
     76                    'title'         => esc_html__( 'Home Automation PRO', 'home-automation' ),
     77                    'pro_text'      => esc_html__( 'Automation PRO', 'home-automation' ),
     78                    'pro_url'       => esc_url( HOME_AUTOMATION_BUY_NOW ),
     79                    'demo_text'     => esc_html__( 'Demo', 'home-automation' ),
     80                    'demo_url'      => esc_url( HOME_AUTOMATION_DEMO_PRO ),
     81                    'support_text'  => esc_html__( 'Support', 'home-automation' ),
     82                    'support_url'   => esc_url( HOME_AUTOMATION_SUPPORT_FREE ),
     83                    'bundle_text'   => esc_html__( 'Get All Themes', 'home-automation' ),
     84                    'bundle_url'    => esc_url( HOME_AUTOMATION_THEME_BUNDLE ),
     85                    'lite_doc_text' => esc_html__( 'Lite Doc', 'home-automation' ),
     86                    'lite_doc_url'  => esc_url( HOME_AUTOMATION_DOCS_FREE ),
     87                    'review_text'   => esc_html__( 'Review', 'home-automation' ),
     88                    'review_url'    => esc_url( HOME_AUTOMATION_REVIEW_FREE ),
     89                    'priority'      => 1,
     90                )
     91            )
    8492        );
     93
    8594    }
    8695
     
    94103    public function enqueue_control_scripts() {
    95104
    96         wp_enqueue_script( 'home-automation-customize-controls', trailingslashit( get_template_directory_uri() ) . '/js/customize-controls.js', array( 'customize-controls' ) );
     105        wp_enqueue_script(
     106            'home-automation-customize-controls',
     107            trailingslashit( get_template_directory_uri() ) . '/js/customize-controls.js',
     108            array( 'customize-controls' )
     109        );
    97110
    98         wp_enqueue_style( 'home-automation-customize-controls', trailingslashit( get_template_directory_uri() ) . '/css/customize-controls.css' );
     111        wp_enqueue_style(
     112            'home-automation-customize-controls',
     113            trailingslashit( get_template_directory_uri() ) . '/css/customize-controls.css'
     114        );
    99115    }
    100116}
  • home-automation/5.5/core/includes/main.php

    r289463 r299106  
    145145                <div class="insidee theme-bundle">
    146146                    <img width="100%" src="<?php echo esc_url( get_template_directory_uri() . '/assets/images/bundle-image.png' ); ?>" alt="<?php esc_attr_e('logo', 'home-automation'); ?>">
    147                     <p class="offer"><?php esc_html_e('Get 90+ Perfect WordPress Theme In A Single Package at just $89."','home-automation'); ?></p>
    148                     <p class="coupon"><?php esc_html_e('Get Our Theme Pack of 90+ WordPress Themes At 15% Off','home-automation'); ?><span class="coupon-code"><?php esc_html_e('"Bundleup15"','home-automation'); ?></span></p>
     147                    <p class="offer"><?php esc_html_e('Get 100+ Perfect WordPress Theme In A Single Package at just $89."','home-automation'); ?></p>
     148                    <p class="coupon"><?php esc_html_e('Get Our Theme Pack of 100+ WordPress Themes At 15% Off','home-automation'); ?><span class="coupon-code"><?php esc_html_e('"Bundleup15"','home-automation'); ?></span></p>
    149149                <div id="admin_pro_linkss">
    150150                    <a class="blue-button-1" href="<?php echo esc_url( HOME_AUTOMATION_THEME_BUNDLE ); ?>" target="_blank"><?php esc_html_e( 'Buy All Themes - $89', 'home-automation' ) ?></a>
  • home-automation/5.5/core/includes/upgrade-pro.php

    r267549 r299106  
    1818
    1919    /**
    20      * Custom button text to output.
    21      *
    22      * @since  1.0.0
    23      * @access public
    24      * @var    string
     20     * Custom button texts and URLs.
    2521     */
    2622    public $pro_text = '';
     23    public $bundle_text = '';
     24    public $pro_url = '';
     25    public $bundle_url = '';
    2726
    28     /**
    29      * Custom button text to output.
    30      *
    31      * @since  1.0.0
    32      * @access public
    33      * @var    string
    34      */
    35     public $bundle_text = '';
    36 
    37     /**
    38      * Custom pro button URL.
    39      *
    40      * @since  1.0.0
    41      * @access public
    42      * @var    string
    43      */
    44     public $pro_url = '';
    45 
    46     /**
    47      * Custom pro button URL.
    48      *
    49      * @since  1.0.0
    50      * @access public
    51      * @var    string
    52      */
    53     public $bundle_url = '';
     27    // Added new fields
     28    public $demo_text = '';
     29    public $demo_url = '';
     30    public $support_text = '';
     31    public $support_url = '';
     32    public $lite_doc_text = '';
     33    public $lite_doc_url = '';
     34    public $review_text = '';
     35    public $review_url = '';
    5436
    5537    /**
     
    6345        $json = parent::json();
    6446
    65         $json['pro_text'] = $this->pro_text;
    66         $json['pro_url']  = esc_url( $this->pro_url );
     47        $json['pro_text']      = $this->pro_text;
     48        $json['pro_url']       = esc_url( $this->pro_url );
     49        $json['bundle_text']   = $this->bundle_text;
     50        $json['bundle_url']    = esc_url( $this->bundle_url );
    6751
    68         $json['bundle_text'] = $this->bundle_text;
    69         $json['bundle_url']  = esc_url( $this->bundle_url );
     52        // New JSON fields
     53        $json['demo_text']     = $this->demo_text;
     54        $json['demo_url']      = esc_url( $this->demo_url );
     55        $json['support_text']  = $this->support_text;
     56        $json['support_url']   = esc_url( $this->support_url );
     57        $json['lite_doc_text'] = $this->lite_doc_text;
     58        $json['lite_doc_url']  = esc_url( $this->lite_doc_url );
     59        $json['review_text']   = $this->review_text;
     60        $json['review_url']    = esc_url( $this->review_url );
    7061
    7162        return $json;
     
    8374            <h3 class="accordion-section-title">
    8475                {{ data.title }}
     76                <span class="customize-action">{{ data.description }}</span>
     77                <div class="custom-action-buttonss">
     78                    <# if ( data.demo_text && data.demo_url ) { #>
     79                        <a href="{{ data.demo_url }}" class="button button-primary custom-demo" target="_blank">{{ data.demo_text }}</a>
     80                    <# } #>
    8581
    86                 <span class="customize-action">{{ data.description }}</span>
     82                    <# if ( data.pro_text && data.pro_url ) { #>
     83                        <a href="{{ data.pro_url }}" class="button button-primary custom-pro" target="_blank">{{ data.pro_text }}</a>
     84                    <# } #>
    8785
    88                 <# if ( data.pro_text && data.pro_url ) { #>
    89                     <a href="{{ data.pro_url }}" class="button button-primary" target="_blank">{{ data.pro_text }}</a>
    90                 <# } #>
     86                    <# if ( data.lite_doc_text && data.lite_doc_url ) { #>
     87                        <a href="{{ data.lite_doc_url }}" class="button button-primary custom-doc" target="_blank">{{ data.lite_doc_text }}</a>
     88                    <# } #>
    9189
    92                 <# if ( data.bundle_text && data.bundle_url ) { #>
    93                     <a href="{{ data.bundle_url }}" class="button button-primary" target="_blank">{{ data.bundle_text }}</a>
    94                 <# } #>
    95                    
     90                    <# if ( data.support_text && data.support_url ) { #>
     91                        <a href="{{ data.support_url }}" class="button button-primary custom-support" target="_blank">{{ data.support_text }}</a>
     92                    <# } #>
     93
     94                    <# if ( data.bundle_text && data.bundle_url ) { #>
     95                        <a href="{{ data.bundle_url }}" class="button button-primary custom-bundle" target="_blank">{{ data.bundle_text }}</a>
     96                    <# } #>
     97
     98                    <# if ( data.review_text && data.review_url ) { #>
     99                        <a href="{{ data.review_url }}" class="button button-primary custom-review" target="_blank">{{ data.review_text }}</a>
     100                    <# } #>
     101                </div>
    96102            </h3>
    97103        </li>
  • home-automation/5.5/css/customize-controls.css

    r267549 r299106  
    7474  margin: 4px;
    7575}
     76
     77/* customizer pro details */
     78
     79.wp-full-overlay-sidebar{
     80  width: 18% !important;
     81}
     82#accordion-section-home_automation_upgrade_pro.control-section .accordion-section-title{
     83  padding: 10px !important;
     84}
     85li#accordion-section-home_automation_upgrade_pro {
     86    text-align: center;
     87}
     88.custom-action-buttonss {
     89    display: grid;
     90    justify-content: center;
     91    align-items: center;
     92    grid-template-columns: auto auto auto;
     93    text-align: center;
     94}
     95a.button.button-primary.custom-pro,a.button.button-primary.custom-bundle:hover {
     96    background-image: linear-gradient(96deg, #F0AC0E 0%, #F56616 100%);
     97    border: none;
     98}
     99
     100a.button.button-primary.custom-bundle,a.button.button-primary.custom-pro:hover {
     101    background-image: linear-gradient(96deg, #6254e7 0%, #9289f1 100%);
     102    border: none;
     103}
     104a.button.button-primary.custom-support,a.button.button-primary.custom-doc,a.button.button-primary.custom-demo:hover,a.button.button-primary.custom-review:hover{
     105  background: #7dc746;
     106  border: #7dc746;
     107}
     108a.button.button-primary.custom-demo,a.button.button-primary.custom-review,a.button.button-primary.custom-support:hover,a.button.button-primary.custom-doc:hover{
     109  background: #22a6d5;
     110  border: #22a6d5;
     111}
  • home-automation/5.5/languages/home-automation.pot

    r289463 r299106  
    15471547
    15481548#: core/includes/main.php:147
    1549 msgid "Get 90+ Perfect WordPress Theme In A Single Package at just $89.\""
     1549msgid "Get 100+ Perfect WordPress Theme In A Single Package at just $89.\""
    15501550msgstr ""
    15511551
    15521552#: core/includes/main.php:148
    1553 msgid "Get Our Theme Pack of 90+ WordPress Themes At 15% Off"
     1553msgid "Get Our Theme Pack of 100+ WordPress Themes At 15% Off"
    15541554msgstr ""
    15551555
  • home-automation/5.5/readme.txt

    r297068 r299106  
    33Tags: photography, portfolio, education, wide-blocks, one-column, two-columns, three-columns, four-columns, right-sidebar, left-sidebar, grid-layout, custom-background, custom-colors, custom-header, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, editor-style, post-formats, theme-options, threaded-comments, translation-ready
    44Requires at least: 5.0
    5 Stable tag: 5.4
     5Stable tag: 5.5
    66Requires PHP: 7.2
    77Tested up to: 6.8
     
    133133* Added related product per column settings.
    134134* Added archive page column settings.
    135 * Updated 60 to 90+ themes in get-start.
     135* Updated 60 to 100+ themes in get-start.
    136136* Updated header feature image CSS.
    137137
     
    321321* resolve issues in global color.
    322322
     323= 5.5 = November - 18 - 2025
     324
     325* Increase width of customizer sidebar.
     326* Added buttons in customizer.
     327* Updated themes count to 100+ themes.
     328
    323329== Resources ==
    324330
  • home-automation/5.5/style.css

    r297068 r299106  
    55Theme URI: https://www.misbahwp.com/products/free-home-automation-wordpress-theme
    66Author URI: https://www.misbahwp.com/
    7 Version: 5.4
     7Version: 5.5
    88Requires PHP: 7.2
    99Tested up to: 6.8
Note: See TracChangeset for help on using the changeset viewer.