Changeset 298928
- Timestamp:
- 11/18/2025 06:09:30 AM (6 days ago)
- Location:
- misbah-lighting/3.5
- Files:
-
- 7 edited
- 1 copied
-
. (copied) (copied from misbah-lighting/3.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/misbah-lighting.pot (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
style.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
misbah-lighting/3.5/core/includes/class-upgrade-pro.php
r262093 r298928 68 68 $manager->register_section_type( 'Misbah_Lighting_Customize_Section_Pro' ); 69 69 70 // Add the PRO Upgrade section. 70 71 $manager->add_section( 71 new Misbah_Lighting_Customize_Section_Pro( 72 $manager, 73 'misbah_lighting_upgrade_pro', 74 array( 75 'title' => esc_html__( 'Upgrade to Misbah Lighting PRO', 'misbah-lighting' ), 76 'description' => esc_html__( 'Unlock premium features: Multiple Sections, Color Pallete, Typography, Premium Support and much more...', 'misbah-lighting' ), 77 'pro_text' => esc_html__( 'View Misbah Lighting PRO', 'misbah-lighting' ), 78 'pro_url' => esc_url( MISBAH_LIGHTING_BUY_NOW ), 79 'bundle_text' => esc_html__( 'Get All Themes In Single Pack', 'misbah-lighting' ), 80 'bundle_url' => esc_url( MISBAH_LIGHTING_THEME_BUNDLE ), 81 'priority' => 1, 82 ) 83 ) 72 new Misbah_Lighting_Customize_Section_Pro( 73 $manager, 74 'misbah_lighting_upgrade_pro', 75 array( 76 'title' => esc_html__( 'Misbah Lighting PRO', 'misbah-lighting' ), 77 'pro_text' => esc_html__( 'Lighting PRO', 'misbah-lighting' ), 78 'pro_url' => esc_url( MISBAH_LIGHTING_BUY_NOW ), 79 'demo_text' => esc_html__( 'Demo', 'misbah-lighting' ), 80 'demo_url' => esc_url( MISBAH_LIGHTING_DEMO_PRO ), 81 'support_text' => esc_html__( 'Support', 'misbah-lighting' ), 82 'support_url' => esc_url( MISBAH_LIGHTING_SUPPORT_FREE ), 83 'bundle_text' => esc_html__( 'Get All Themes', 'misbah-lighting' ), 84 'bundle_url' => esc_url( MISBAH_LIGHTING_THEME_BUNDLE ), 85 'lite_doc_text' => esc_html__( 'Lite Doc', 'misbah-lighting' ), 86 'lite_doc_url' => esc_url( MISBAH_LIGHTING_DOCS_FREE ), 87 'review_text' => esc_html__( 'Review', 'misbah-lighting' ), 88 'review_url' => esc_url( MISBAH_LIGHTING_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( 'misbah-lighting-customize-controls', trailingslashit( get_template_directory_uri() ) . '/js/customize-controls.js', array( 'customize-controls' ) ); 105 wp_enqueue_script( 106 'misbah-lighting-customize-controls', 107 trailingslashit( get_template_directory_uri() ) . '/js/customize-controls.js', 108 array( 'customize-controls' ) 109 ); 97 110 98 wp_enqueue_style( 'misbah-lighting-customize-controls', trailingslashit( get_template_directory_uri() ) . '/css/customize-controls.css' ); 111 wp_enqueue_style( 112 'misbah-lighting-customize-controls', 113 trailingslashit( get_template_directory_uri() ) . '/css/customize-controls.css' 114 ); 99 115 } 100 116 } -
misbah-lighting/3.5/core/includes/main.php
r291757 r298928 151 151 <div class="insidee theme-bundle"> 152 152 <img width="100%" src="<?php echo esc_url( get_template_directory_uri() . '/assets/images/bundle-image.png' ); ?>" alt="<?php esc_attr_e('logo', 'misbah-lighting'); ?>"> 153 <p class="offer"><?php esc_html_e('Get 90+ Perfect WordPress Theme In A Single Package at just $89."','misbah-lighting'); ?></p>154 <p class="coupon"><?php esc_html_e('Get Our Theme Pack of 90+ WordPress Themes At 15% Off','misbah-lighting'); ?><span class="coupon-code"><?php esc_html_e('"Bundleup15"','misbah-lighting'); ?></span></p>153 <p class="offer"><?php esc_html_e('Get 100+ Perfect WordPress Theme In A Single Package at just $89."','misbah-lighting'); ?></p> 154 <p class="coupon"><?php esc_html_e('Get Our Theme Pack of 100+ WordPress Themes At 15% Off','misbah-lighting'); ?><span class="coupon-code"><?php esc_html_e('"Bundleup15"','misbah-lighting'); ?></span></p> 155 155 <div id="admin_pro_linkss"> 156 156 <a class="blue-button-1" href="<?php echo esc_url( MISBAH_LIGHTING_THEME_BUNDLE ); ?>" target="_blank"><?php esc_html_e( 'Buy All Themes - $89', 'misbah-lighting' ) ?></a> -
misbah-lighting/3.5/core/includes/upgrade-pro.php
r262093 r298928 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> -
misbah-lighting/3.5/css/customize-controls.css
r262093 r298928 75 75 margin: 4px; 76 76 } 77 78 /* customizer pro details */ 79 80 .wp-full-overlay-sidebar{ 81 width: 18% !important; 82 } 83 #accordion-section-misbah_lighting_upgrade_pro.control-section .accordion-section-title{ 84 padding: 10px !important; 85 } 86 li#accordion-section-misbah_lighting_upgrade_pro { 87 text-align: center; 88 } 89 .custom-action-buttonss { 90 display: grid; 91 justify-content: center; 92 align-items: center; 93 grid-template-columns: auto auto auto; 94 text-align: center; 95 } 96 a.button.button-primary.custom-pro,a.button.button-primary.custom-bundle:hover { 97 background-image: linear-gradient(96deg, #F0AC0E 0%, #F56616 100%); 98 border: none; 99 } 100 101 a.button.button-primary.custom-bundle,a.button.button-primary.custom-pro:hover { 102 background-image: linear-gradient(96deg, #6254e7 0%, #9289f1 100%); 103 border: none; 104 } 105 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{ 106 background: #7dc746; 107 border: #7dc746; 108 } 109 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{ 110 background: #22a6d5; 111 border: #22a6d5; 112 } -
misbah-lighting/3.5/languages/misbah-lighting.pot
r287969 r298928 1472 1472 1473 1473 #: core/includes/main.php:152 1474 msgid "Get 90+ Perfect WordPress Theme In A Single Package at just $89.\""1474 msgid "Get 100+ Perfect WordPress Theme In A Single Package at just $89.\"" 1475 1475 msgstr "" 1476 1476 1477 1477 #: core/includes/main.php:153 1478 msgid "Get Our Theme Pack of 90+ WordPress Themes At 15% Off"1478 msgid "Get Our Theme Pack of 100+ WordPress Themes At 15% Off" 1479 1479 msgstr "" 1480 1480 -
misbah-lighting/3.5/readme.txt
r296621 r298928 3 3 Tags: photography, portfolio, e-commerce, 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, featured-image-header, footer-widgets, full-width-template, flexible-header, rtl-language-support, editor-style, post-formats, sticky-post, theme-options, threaded-comments, translation-ready 4 4 Requires at least: 5.0 5 Stable tag: 3. 45 Stable tag: 3.5 6 6 Requires PHP: 7.2 7 7 Tested up to: 6.8 … … 178 178 * resolve issues in global color. 179 179 180 = 3.5 = November - 13 - 2025 181 182 * Increase width of customizer sidebar. 183 * Added buttons in customizer. 184 * Updated themes count to 100+ themes. 185 180 186 == Resources == 181 187 -
misbah-lighting/3.5/style.css
r296621 r298928 5 5 Theme URI: https://www.misbahwp.com/products/free-lighting-wordpress-theme 6 6 Author URI: https://www.misbahwp.com/ 7 Version: 3. 47 Version: 3.5 8 8 Requires PHP: 7.2 9 9 Tested up to: 6.8
Note: See TracChangeset
for help on using the changeset viewer.