Changeset 262096
- Timestamp:
- 03/05/2025 11:34:57 PM (9 months ago)
- Location:
- the-home-decor/1.6
- Files:
-
- 1 added
- 16 edited
- 1 copied
-
. (copied) (copied from the-home-decor/1.5)
-
archive.php (modified) (7 diffs)
-
core/includes/class-upgrade-pro.php (modified) (1 diff)
-
core/includes/customizer.php (modified) (4 diffs)
-
core/includes/tgm.php (modified) (1 diff)
-
core/includes/upgrade-pro.php (modified) (5 diffs)
-
core/sections/testimonial.php (modified) (1 diff)
-
css/customize-controls.css (modified) (1 diff)
-
index.php (modified) (7 diffs)
-
nothing-found.php (added)
-
readme.txt (modified) (2 diffs)
-
search.php (modified) (7 diffs)
-
style.css (modified) (2 diffs)
-
template-parts/content-grid.php (modified) (1 diff)
-
template-parts/content.php (modified) (1 diff)
-
woocommerce/archive-product.php (modified) (1 diff)
-
woocommerce/myaccount/form-login.php (modified) (5 diffs)
-
woocommerce/single-product.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
the-home-decor/1.6/archive.php
r254643 r262096 32 32 else: 33 33 34 esc_html_e( 'Sorry, no post found on this archive.', 'the-home-decor' );34 get_template_part( 'nothing-found' ); 35 35 36 36 endif; … … 61 61 else: 62 62 63 esc_html_e( 'Sorry, no post found on this archive.', 'the-home-decor' );63 get_template_part( 'nothing-found' ); 64 64 65 65 endif; … … 87 87 else: 88 88 89 esc_html_e( 'Sorry, no post found on this archive.', 'the-home-decor' );89 get_template_part( 'nothing-found' ); 90 90 91 91 endif; … … 119 119 else: 120 120 121 esc_html_e( 'Sorry, no post found on this archive.', 'the-home-decor' );121 get_template_part( 'nothing-found' ); 122 122 123 123 endif; … … 144 144 else: 145 145 146 esc_html_e( 'Sorry, no post found on this archive.', 'the-home-decor' );146 get_template_part( 'nothing-found' ); 147 147 148 148 endif; … … 167 167 else: 168 168 169 esc_html_e( 'Sorry, no post found on this archive.', 'the-home-decor' );169 get_template_part( 'nothing-found' ); 170 170 171 171 endif; … … 198 198 else: 199 199 200 esc_html_e( 'Sorry, no post found on this archive.', 'the-home-decor' );200 get_template_part( 'nothing-found' ); 201 201 202 202 endif; -
the-home-decor/1.6/core/includes/class-upgrade-pro.php
r251471 r262096 71 71 new The_Home_Decor_Customize_Section_Pro( 72 72 $manager, 73 'the_home_decor_upgrade_pro', 74 array( 75 'title' => esc_html__( 'Upgrade to Home Decor PRO', 'the-home-decor' ), 76 'description' => esc_html__( 'Unlock premium features: Multiple Sections, Color Pallete, Typography, Premium Support and much more...', 'the-home-decor' ), 77 'pro_text' => esc_html__( 'View The Home Decor PRO', 'the-home-decor' ), 78 'pro_url' => 'https://www.misbahwp.com/products/decor-wordpress-theme', 79 'priority' => 1, 80 ) 81 ) 73 'the_home_decor_upgrade_pro', 74 array( 75 'title' => esc_html__( 'Upgrade to Home Decor PRO', 'the-home-decor' ), 76 'description' => esc_html__( 'Unlock premium features: Multiple Sections, Color Pallete, Typography, Premium Support and much more...', 'the-home-decor' ), 77 'pro_text' => esc_html__( 'View Home Decor PRO', 'the-home-decor' ), 78 'pro_url' => esc_url( THE_HOME_DECOR_BUY_NOW ), 79 'bundle_text' => esc_html__( 'Get All Themes In Single Pack', 'the-home-decor' ), 80 'bundle_url' => esc_url( THE_HOME_DECOR_THEME_BUNDLE ), 81 'priority' => 1, 82 ) 83 ) 82 84 ); 83 85 } -
the-home-decor/1.6/core/includes/customizer.php
r261516 r262096 132 132 Kirki::add_panel( 'the_home_decor_panel_id_3', array( 133 133 'priority' => 10, 134 'title' => esc_html__( '404 Settings ', 'the-home-decor' ),134 'title' => esc_html__( '404 Settings / No Result', 'the-home-decor' ), 135 135 ) ); 136 136 137 137 // 404 SECTION 138 138 Kirki::add_section( 'the_home_decor_section_404', array( 139 'panel' => 'the_home_decor_panel_id_3', 139 140 'title' => esc_html__( '404 Settings', 'the-home-decor' ), 140 141 'priority' => 3, … … 147 148 'section' => 'the_home_decor_section_404', 148 149 'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'the-home-decor' ) . '</div>', 150 'priority' => 10, 149 151 ]); 150 152 151 153 Kirki::add_field( 'theme_config_id', [ 152 154 'type' => 'custom', 153 'settings' => 'the_home_decor_ not_found_heading',155 'settings' => 'the_home_decor_404_heading', 154 156 'section' => 'the_home_decor_section_404', 155 'default' => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( ' Not FoundHeading', 'the-home-decor' ) . '</h3>',157 'default' => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( '404 Heading', 'the-home-decor' ) . '</h3>', 156 158 'priority' => 10, 157 159 ]); … … 167 169 Kirki::add_field( 'theme_config_id', [ 168 170 'type' => 'custom', 169 'settings' => 'the_home_decor_ not_found_text',171 'settings' => 'the_home_decor_404_text', 170 172 'section' => 'the_home_decor_section_404', 171 'default' => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( ' Not FoundContent', 'the-home-decor' ) . '</h3>',173 'default' => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( '404 Content', 'the-home-decor' ) . '</h3>', 172 174 'priority' => 10, 173 175 ]); … … 178 180 'section' => 'the_home_decor_section_404', 179 181 'default' => esc_html__('Sorry, no posts matched your criteria.', 'the-home-decor'), 182 'priority' => 10, 183 ] ); 184 185 // NO Result 186 Kirki::add_section( 'the_home_decor_no_result', array( 187 'panel' => 'the_home_decor_panel_id_3', 188 'title' => esc_html__( 'No Result Page Settings', 'the-home-decor' ), 189 'priority' => 3, 190 ) ); 191 192 Kirki::add_field( 'theme_config_id', [ 193 'label' => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'the-home-decor' ) . '</span>', 194 'default' => '<a class="premium_info_btn" target="_blank" href="' . esc_url( THE_HOME_DECOR_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'the-home-decor' ) . '</a>', 195 'type' => 'custom', 196 'section' => 'the_home_decor_no_result', 197 'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'the-home-decor' ) . '</div>', 198 'priority' => 10, 199 ]); 200 201 Kirki::add_field( 'theme_config_id', [ 202 'type' => 'custom', 203 'settings' => 'the_home_decor_not_found_heading', 204 'section' => 'the_home_decor_no_result', 205 'default' => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'No Search Result Heading', 'the-home-decor' ) . '</h3>', 206 'priority' => 10, 207 ]); 208 209 Kirki::add_field( 'theme_config_id', [ 210 'type' => 'text', 211 'settings' => 'the_home_decor_no_results_page_title', 212 'section' => 'the_home_decor_no_result', 213 'default' => esc_html__('404 Not Found', 'the-home-decor'), 214 'priority' => 10, 215 ] ); 216 217 Kirki::add_field( 'theme_config_id', [ 218 'type' => 'custom', 219 'settings' => 'the_home_decor_not_found_text', 220 'section' => 'the_home_decor_no_result', 221 'default' => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'No Search Result Content', 'the-home-decor' ) . '</h3>', 222 'priority' => 10, 223 ]); 224 225 Kirki::add_field( 'theme_config_id', [ 226 'type' => 'text', 227 'settings' => 'the_home_decor_no_results_page_content', 228 'section' => 'the_home_decor_no_result', 229 'default' => esc_html__('Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'the-home-decor'), 180 230 'priority' => 10, 181 231 ] ); -
the-home-decor/1.6/core/includes/tgm.php
r251471 r262096 32 32 'force_activation' => false, 33 33 ), 34 array( 35 'name' => __( 'Mosaic Gallery Advanced Gallery', 'the-home-decor' ), 36 'slug' => 'mosaic-gallery-advanced-gallery', 37 'required' => false, 38 'force_activation' => false, 39 ), 34 40 ); 35 41 $config = array(); -
the-home-decor/1.6/core/includes/upgrade-pro.php
r251471 r262096 27 27 28 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 /** 29 38 * Custom pro button URL. 30 39 * … … 34 43 */ 35 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 = ''; 36 54 37 55 /** … … 48 66 $json['pro_url'] = esc_url( $this->pro_url ); 49 67 68 $json['bundle_text'] = $this->bundle_text; 69 $json['bundle_url'] = esc_url( $this->bundle_url ); 70 50 71 return $json; 51 72 } … … 60 81 protected function render_template() { ?> 61 82 <li id="accordion-section-{{ data.id }}" class="accordion-section control-section control-section-{{ data.type }} cannot-expand"> 62 63 83 <h3 class="accordion-section-title"> 64 84 {{ data.title }} … … 69 89 <a href="{{ data.pro_url }}" class="button button-primary" target="_blank">{{ data.pro_text }}</a> 70 90 <# } #> 91 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 <# } #> 71 95 72 96 </h3> 73 74 97 </li> 75 98 <?php } -
the-home-decor/1.6/core/sections/testimonial.php
r252568 r262096 27 27 <img src="<?php echo esc_url($the_home_decor_categories_thumb_url); ?>" alt="<?php echo esc_html($the_home_decor_product_categories->name); ?>" /> 28 28 <?php else : ?> 29 <img src="<?php echo esc_url(get_template_directory_uri()); ?>/assets/im g/slider.png" alt="" />29 <img src="<?php echo esc_url(get_template_directory_uri()); ?>/assets/images/slider.png" alt="" /> 30 30 <?php endif; ?> 31 31 </div> -
the-home-decor/1.6/css/customize-controls.css
r251471 r262096 69 69 } 70 70 } 71 a.button.button-primary { 72 margin: 4px; 73 } -
the-home-decor/1.6/index.php
r254643 r262096 32 32 else: 33 33 34 esc_html_e( 'Sorry, no post found on this archive.', 'the-home-decor' );34 get_template_part( 'nothing-found' ); 35 35 36 36 endif; … … 61 61 else: 62 62 63 esc_html_e( 'Sorry, no post found on this archive.', 'the-home-decor' );63 get_template_part( 'nothing-found' ); 64 64 65 65 endif; … … 87 87 else: 88 88 89 esc_html_e( 'Sorry, no post found on this archive.', 'the-home-decor' );89 get_template_part( 'nothing-found' ); 90 90 91 91 endif; … … 119 119 else: 120 120 121 esc_html_e( 'Sorry, no post found on this archive.', 'the-home-decor' );121 get_template_part( 'nothing-found' ); 122 122 123 123 endif; … … 144 144 else: 145 145 146 esc_html_e( 'Sorry, no post found on this archive.', 'the-home-decor' );146 get_template_part( 'nothing-found' ); 147 147 148 148 endif; … … 167 167 else: 168 168 169 esc_html_e( 'Sorry, no post found on this archive.', 'the-home-decor' );169 get_template_part( 'nothing-found' ); 170 170 171 171 endif; … … 198 198 else: 199 199 200 esc_html_e( 'Sorry, no post found on this archive.', 'the-home-decor' );200 get_template_part( 'nothing-found' ); 201 201 202 202 endif; -
the-home-decor/1.6/readme.txt
r261516 r262096 3 3 Tags: e-commerce, portfolio, blog, 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, featured-image-header, editor-style, post-formats, rtl-language-support, theme-options, threaded-comments 4 4 Requires at least: 5.0 5 Stable tag: 1. 55 Stable tag: 1.6 6 6 Requires PHP: 7.2 7 7 Tested up to: 6.7 … … 59 59 * Resolve Minor Bug. 60 60 61 = 1.6 = March - 03 - 2025 62 63 * Added no result settings. 64 * Added nothing-found.php file. 65 * Added categories in post meta. 66 * Added bundle button in customizer. 67 * recommend mosaic plugin. 68 * Updated woocommerce template. 69 * Do proper escaping. 70 61 71 == Resources == 62 72 -
the-home-decor/1.6/search.php
r254643 r262096 34 34 else: 35 35 36 esc_html_e( 'Sorry, no post found on this archive.', 'the-home-decor' );36 get_template_part( 'nothing-found' ); 37 37 38 38 endif; … … 64 64 else: 65 65 66 esc_html_e( 'Sorry, no post found on this archive.', 'the-home-decor' );66 get_template_part( 'nothing-found' ); 67 67 68 68 endif; … … 91 91 else: 92 92 93 esc_html_e( 'Sorry, no post found on this archive.', 'the-home-decor' );93 get_template_part( 'nothing-found' ); 94 94 95 95 endif; … … 124 124 else: 125 125 126 esc_html_e( 'Sorry, no post found on this archive.', 'the-home-decor' );126 get_template_part( 'nothing-found' ); 127 127 128 128 endif; … … 151 151 else: 152 152 153 esc_html_e( 'Sorry, no post found on this archive.', 'the-home-decor' );153 get_template_part( 'nothing-found' ); 154 154 155 155 endif; … … 176 176 else: 177 177 178 esc_html_e( 'Sorry, no post found on this archive.', 'the-home-decor' );178 get_template_part( 'nothing-found' ); 179 179 180 180 endif; … … 208 208 else: 209 209 210 esc_html_e( 'Sorry, no post found on this archive.', 'the-home-decor' );210 get_template_part( 'nothing-found' ); 211 211 212 212 endif; -
the-home-decor/1.6/style.css
r261516 r262096 5 5 Theme URI: https://www.misbahwp.com/products/free-home-decor-wordpress-theme 6 6 Author URI: https://www.misbahwp.com/ 7 Version: 1. 57 Version: 1.6 8 8 Requires PHP: 7.2 9 9 Tested up to: 6.7 … … 799 799 font-size: 25px; 800 800 font-weight: 600; 801 } 802 803 /*=============================================== 804 Post Meta 805 =============================================== */ 806 807 .edit-cat { 808 display: flex; 809 gap: 20px; 801 810 } 802 811 -
the-home-decor/1.6/template-parts/content-grid.php
r257887 r262096 29 29 30 30 ?> 31 <?php echo esc_html(the_home_decor_edit_link()); ?> 31 <div class="edit-cat"> 32 <?php echo esc_html(the_home_decor_edit_link()); 33 // Display categories after comments 34 $the_home_decor_categories_list = get_the_category_list(', '); 35 if ($the_home_decor_categories_list) { 36 echo '<div class="post-categories"><i class="fas fa-folder me-2"></i>' . $the_home_decor_categories_list . '</div>'; 37 } ?> 38 </div> 32 39 </div> 33 40 </div> -
the-home-decor/1.6/template-parts/content.php
r257887 r262096 28 28 29 29 ?> 30 <?php echo esc_html(the_home_decor_edit_link()); ?> 30 <div class="edit-cat"> 31 <?php echo esc_html(the_home_decor_edit_link()); 32 // Display categories after comments 33 $the_home_decor_categories_list = get_the_category_list(', '); 34 if ($the_home_decor_categories_list) { 35 echo '<div class="post-categories"><i class="fas fa-folder me-2"></i>' . $the_home_decor_categories_list . '</div>'; 36 } ?> 37 </div> 31 38 </div> 32 39 </div> -
the-home-decor/1.6/woocommerce/archive-product.php
r251471 r262096 27 27 <?php if ( get_theme_mod('the_home_decor_breadcrumb_enable',true) ) : ?> 28 28 <div class="bread_crumb text-center"> 29 <h1 class="post-title feature-header-title"><?php e cho(esc_html_e('Archive Product Page','the-home-decor')); ?></h1>29 <h1 class="post-title feature-header-title"><?php esc_html_e('Archive Product Page','the-home-decor'); ?></h1> 30 30 <?php the_home_decor_breadcrumb(); ?> 31 31 </div> -
the-home-decor/1.6/woocommerce/myaccount/form-login.php
r251471 r262096 13 13 * @see https://woocommerce.com/document/template-structure/ 14 14 * @package WooCommerce\Templates 15 * @version 9. 2.015 * @version 9.7.0 16 16 */ 17 17 … … 32 32 <h2><?php esc_html_e( 'Login', 'the-home-decor' ); ?></h2> 33 33 34 <form class="woocommerce-form woocommerce-form-login login" method="post" >34 <form class="woocommerce-form woocommerce-form-login login" method="post" novalidate> 35 35 36 36 <?php do_action( 'woocommerce_login_form_start' ); ?> 37 37 38 38 <p class="woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide"> 39 <label for="username"><?php esc_html_e( 'Username or email address', 'the-home-decor' ); ?> <span class="required" >*</span></label>40 <input type="text" class="woocommerce-Input woocommerce-Input--text input-text" name="username" id="username" autocomplete="username" value="<?php echo ( ! empty( $_POST['username'] ) ) ? esc_attr( wp_unslash( $_POST['username'] ) ) : ''; ?>" /><?php // @codingStandardsIgnoreLine ?>39 <label for="username"><?php esc_html_e( 'Username or email address', 'the-home-decor' ); ?> <span class="required" aria-hidden="true">*</span><span class="screen-reader-text"><?php esc_html_e( 'Required', 'the-home-decor' ); ?></span></label> 40 <input type="text" class="woocommerce-Input woocommerce-Input--text input-text" name="username" id="username" autocomplete="username" value="<?php echo ( ! empty( $_POST['username'] ) ) ? esc_attr( wp_unslash( $_POST['username'] ) ) : ''; ?>" required aria-required="true" /><?php // @codingStandardsIgnoreLine ?> 41 41 </p> 42 42 <p class="woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide"> 43 <label for="password"><?php esc_html_e( 'Password', 'the-home-decor' ); ?> <span class="required" >*</span></label>44 <input class="woocommerce-Input woocommerce-Input--text input-text" type="password" name="password" id="password" autocomplete="current-password" />43 <label for="password"><?php esc_html_e( 'Password', 'the-home-decor' ); ?> <span class="required" aria-hidden="true">*</span><span class="screen-reader-text"><?php esc_html_e( 'Required', 'the-home-decor' ); ?></span></label> 44 <input class="woocommerce-Input woocommerce-Input--text input-text" type="password" name="password" id="password" autocomplete="current-password" required aria-required="true" /> 45 45 </p> 46 46 … … 77 77 78 78 <p class="woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide"> 79 <label for="reg_username"><?php esc_html_e( 'Username', 'the-home-decor' ); ?> <span class="required" >*</span></label>80 <input type="text" class="woocommerce-Input woocommerce-Input--text input-text" name="username" id="reg_username" autocomplete="username" value="<?php echo ( ! empty( $_POST['username'] ) ) ? esc_attr( wp_unslash( $_POST['username'] ) ) : ''; ?>" /><?php // @codingStandardsIgnoreLine ?>79 <label for="reg_username"><?php esc_html_e( 'Username', 'the-home-decor' ); ?> <span class="required" aria-hidden="true">*</span><span class="screen-reader-text"><?php esc_html_e( 'Required', 'the-home-decor' ); ?></span></label> 80 <input type="text" class="woocommerce-Input woocommerce-Input--text input-text" name="username" id="reg_username" autocomplete="username" value="<?php echo ( ! empty( $_POST['username'] ) ) ? esc_attr( wp_unslash( $_POST['username'] ) ) : ''; ?>" required aria-required="true" /><?php // @codingStandardsIgnoreLine ?> 81 81 </p> 82 82 … … 84 84 85 85 <p class="woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide"> 86 <label for="reg_email"><?php esc_html_e( 'Email address', 'the-home-decor' ); ?> <span class="required" >*</span></label>87 <input type="email" class="woocommerce-Input woocommerce-Input--text input-text" name="email" id="reg_email" autocomplete="email" value="<?php echo ( ! empty( $_POST['email'] ) ) ? esc_attr( wp_unslash( $_POST['email'] ) ) : ''; ?>" /><?php // @codingStandardsIgnoreLine ?>86 <label for="reg_email"><?php esc_html_e( 'Email address', 'the-home-decor' ); ?> <span class="required" aria-hidden="true">*</span><span class="screen-reader-text"><?php esc_html_e( 'Required', 'the-home-decor' ); ?></span></label> 87 <input type="email" class="woocommerce-Input woocommerce-Input--text input-text" name="email" id="reg_email" autocomplete="email" value="<?php echo ( ! empty( $_POST['email'] ) ) ? esc_attr( wp_unslash( $_POST['email'] ) ) : ''; ?>" required aria-required="true" /><?php // @codingStandardsIgnoreLine ?> 88 88 </p> 89 89 … … 91 91 92 92 <p class="woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide"> 93 <label for="reg_password"><?php esc_html_e( 'Password', 'the-home-decor' ); ?> <span class="required" >*</span></label>94 <input type="password" class="woocommerce-Input woocommerce-Input--text input-text" name="password" id="reg_password" autocomplete="new-password" />93 <label for="reg_password"><?php esc_html_e( 'Password', 'the-home-decor' ); ?> <span class="required" aria-hidden="true">*</span><span class="screen-reader-text"><?php esc_html_e( 'Required', 'the-home-decor' ); ?></span></label> 94 <input type="password" class="woocommerce-Input woocommerce-Input--text input-text" name="password" id="reg_password" autocomplete="new-password" required aria-required="true" /> 95 95 </p> 96 96 -
the-home-decor/1.6/woocommerce/single-product.php
r257887 r262096 30 30 <?php if ( get_theme_mod('the_home_decor_breadcrumb_enable',true) ) : ?> 31 31 <div class="bread_crumb text-center"> 32 <h1 class="post-title feature-header-title"><?php e cho get_the_title(); ?></h1>32 <h1 class="post-title feature-header-title"><?php esc_html_e('Single Product Page','the-home-decor'); ?></h1> 33 33 <?php the_home_decor_breadcrumb(); ?> 34 34 </div>
Note: See TracChangeset
for help on using the changeset viewer.