Changeset 299106
- Timestamp:
- 11/19/2025 05:42:14 AM (5 days ago)
- Location:
- home-automation/5.5
- Files:
-
- 7 edited
- 1 copied
-
. (copied) (copied from home-automation/5.4)
-
core/includes/class-upgrade-pro.php (modified) (2 diffs)
-
core/includes/main.php (modified) (1 diff)
-
core/includes/upgrade-pro.php (modified) (3 diffs)
-
css/customize-controls.css (modified) (1 diff)
-
languages/home-automation.pot (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
style.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
home-automation/5.5/core/includes/class-upgrade-pro.php
r267549 r299106 68 68 $manager->register_section_type( 'Home_Automation_Customize_Section_Pro' ); 69 69 70 // Add the PRO Upgrade section. 70 71 $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 ) 84 92 ); 93 85 94 } 86 95 … … 94 103 public function enqueue_control_scripts() { 95 104 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 ); 97 110 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 ); 99 115 } 100 116 } -
home-automation/5.5/core/includes/main.php
r289463 r299106 145 145 <div class="insidee theme-bundle"> 146 146 <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> 149 149 <div id="admin_pro_linkss"> 150 150 <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 18 18 19 19 /** 20 * Custom button text to output. 21 * 22 * @since 1.0.0 23 * @access public 24 * @var string 20 * Custom button texts and URLs. 25 21 */ 26 22 public $pro_text = ''; 23 public $bundle_text = ''; 24 public $pro_url = ''; 25 public $bundle_url = ''; 27 26 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 = ''; 54 36 55 37 /** … … 63 45 $json = parent::json(); 64 46 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 ); 67 51 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 ); 70 61 71 62 return $json; … … 83 74 <h3 class="accordion-section-title"> 84 75 {{ 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 <# } #> 85 81 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 <# } #> 87 85 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 <# } #> 91 89 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> 96 102 </h3> 97 103 </li> -
home-automation/5.5/css/customize-controls.css
r267549 r299106 74 74 margin: 4px; 75 75 } 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 } 85 li#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 } 95 a.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 100 a.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 } 104 a.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 } 108 a.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 1547 1547 1548 1548 #: core/includes/main.php:147 1549 msgid "Get 90+ Perfect WordPress Theme In A Single Package at just $89.\""1549 msgid "Get 100+ Perfect WordPress Theme In A Single Package at just $89.\"" 1550 1550 msgstr "" 1551 1551 1552 1552 #: core/includes/main.php:148 1553 msgid "Get Our Theme Pack of 90+ WordPress Themes At 15% Off"1553 msgid "Get Our Theme Pack of 100+ WordPress Themes At 15% Off" 1554 1554 msgstr "" 1555 1555 -
home-automation/5.5/readme.txt
r297068 r299106 3 3 Tags: 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 4 4 Requires at least: 5.0 5 Stable tag: 5. 45 Stable tag: 5.5 6 6 Requires PHP: 7.2 7 7 Tested up to: 6.8 … … 133 133 * Added related product per column settings. 134 134 * Added archive page column settings. 135 * Updated 60 to 90+ themes in get-start.135 * Updated 60 to 100+ themes in get-start. 136 136 * Updated header feature image CSS. 137 137 … … 321 321 * resolve issues in global color. 322 322 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 323 329 == Resources == 324 330 -
home-automation/5.5/style.css
r297068 r299106 5 5 Theme URI: https://www.misbahwp.com/products/free-home-automation-wordpress-theme 6 6 Author URI: https://www.misbahwp.com/ 7 Version: 5. 47 Version: 5.5 8 8 Requires PHP: 7.2 9 9 Tested up to: 6.8
Note: See TracChangeset
for help on using the changeset viewer.