Changeset 355678
- Timestamp:
- 10/27/2026 06:43:16 AM (4 hours ago)
- Location:
- ecommerce-center/0.8.9
- Files:
-
- 8 edited
- 1 copied
-
. (copied) (copied from ecommerce-center/0.8.8 )
-
footer.php (modified) (3 diffs)
-
functions.php (modified) (8 diffs)
-
inc/theme-installation/assets/css/theme-installation.css (modified) (1 diff)
-
inc/theme-installation/assets/js/theme-installation.js (modified) (1 diff)
-
inc/theme-installation/theme-installation.php (modified) (4 diffs)
-
languages/ecommerce-center.pot (modified) (6 diffs)
-
readme.txt (modified) (2 diffs)
-
style.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ecommerce-center/0.8.9/footer.php
r351108 r355678 5 5 * Contains the closing of the #content div and all content after. 6 6 * 7 * @link https://developer. WordPress.org/themes/basics/template-files/#template-partials7 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials 8 8 * 9 9 * @package Ecommerce Center … … 79 79 <div class="footer-menu-left"> 80 80 <?php if( ! get_theme_mod('ecommerce_zone_footer_text_setting') ){ ?> 81 <a target="_blank" href="<?php echo esc_url('https:// WordPress.org/', 'ecommerce-center' ); ?>">81 <a target="_blank" href="<?php echo esc_url('https://wordpress.org/', 'ecommerce-center' ); ?>"> 82 82 <?php 83 /* translators: %s: CMS name, i.e. WordPress. */83 /* translators: %s: CMS name, i.e. wordpress. */ 84 84 printf( esc_html__( 'Proudly powered by %s', 'ecommerce-center' ), 'WordPress' ); 85 85 ?> … … 88 88 89 89 <span> 90 <a target="_blank" href="<?php echo esc_url( 'https://www.themagnifico.net/products/free-ecommerce-center- WordPress-theme'); ?>">90 <a target="_blank" href="<?php echo esc_url( 'https://www.themagnifico.net/products/free-ecommerce-center-wordpress-theme'); ?>"> 91 91 <?php 92 92 /* translators: 1: Theme name, */ -
ecommerce-center/0.8.9/functions.php
r351108 r355678 3 3 * Ecommerce Center functions and definitions 4 4 * 5 * @link https://developer. WordPress.org/themes/basics/theme-functions/5 * @link https://developer.wordpress.org/themes/basics/theme-functions/ 6 6 * 7 7 * @package Ecommerce Center … … 11 11 12 12 if ( ! defined( 'ECOMMERCE_ZONE_CONTACT_SUPPORT' ) ) { 13 define('ECOMMERCE_ZONE_CONTACT_SUPPORT',__('https:// WordPress.org/support/theme/ecommerce-center','ecommerce-center'));13 define('ECOMMERCE_ZONE_CONTACT_SUPPORT',__('https://wordpress.org/support/theme/ecommerce-center','ecommerce-center')); 14 14 } 15 15 if ( ! defined( 'ECOMMERCE_ZONE_REVIEW' ) ) { 16 define('ECOMMERCE_ZONE_REVIEW',__('https:// WordPress.org/support/theme/ecommerce-center/reviews/#new-post','ecommerce-center'));16 define('ECOMMERCE_ZONE_REVIEW',__('https://wordpress.org/support/theme/ecommerce-center/reviews/#new-post','ecommerce-center')); 17 17 } 18 18 if ( ! defined( 'ECOMMERCE_ZONE_LIVE_DEMO' ) ) { 19 define('ECOMMERCE_ZONE_LIVE_DEMO',__('https://demo.themagnifico.net/ecommerce- WordPress-theme/','ecommerce-center'));19 define('ECOMMERCE_ZONE_LIVE_DEMO',__('https://demo.themagnifico.net/ecommerce-wordpress-theme/','ecommerce-center')); 20 20 } 21 21 if ( ! defined( 'ECOMMERCE_ZONE_GET_PREMIUM_PRO' ) ) { 22 define('ECOMMERCE_ZONE_GET_PREMIUM_PRO',__('https://www.themagnifico.net/products/ecommerce- WordPress-theme','ecommerce-center'));22 define('ECOMMERCE_ZONE_GET_PREMIUM_PRO',__('https://www.themagnifico.net/products/ecommerce-wordpress-theme','ecommerce-center')); 23 23 } 24 24 if ( ! defined( 'ECOMMERCE_ZONE_PRO_DOC' ) ) { … … 29 29 } 30 30 if ( ! defined( 'ECOMMERCE_ZONE_BUNDLE_LINK' ) ) { 31 define('ECOMMERCE_ZONE_BUNDLE_LINK',__('https://www.themagnifico.net/products/ WordPress-theme-bundle','ecommerce-center'));31 define('ECOMMERCE_ZONE_BUNDLE_LINK',__('https://www.themagnifico.net/products/wordpress-theme-bundle','ecommerce-center')); 32 32 } 33 33 … … 39 39 * Register widget area. 40 40 * 41 * @link https://developer. WordPress.org/themes/functionality/sidebars/#registering-a-sidebar41 * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar 42 42 */ 43 43 function ecommerce_center_widgets_init() { … … 245 245 * Enable support for Post Thumbnails on posts and pages. 246 246 * 247 * @link https://developer. WordPress.org/themes/functionality/featured-images-post-thumbnails/247 * @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/ 248 248 */ 249 249 add_theme_support( 'post-thumbnails' ); … … 273 273 * Add support for core custom logo. 274 274 * 275 * @link https://codex. WordPress.org/Theme_Logo275 * @link https://codex.wordpress.org/Theme_Logo 276 276 */ 277 277 add_theme_support( 'custom-logo', array( … … 396 396 397 397 // Handle the AJAX request 398 399 /** 400 * Send an AJAX JSON response, discarding any stray output (e.g. PHP notices printed 401 * while WP_DEBUG is on) buffered during the request so the response stays valid JSON. 402 */ 403 function ecommerce_center_send_json( $data = null, $type = '' ) { 404 while ( ob_get_level() > 0 ) { 405 ob_end_clean(); 406 } 407 if ( 'success' === $type ) { 408 wp_send_json_success( $data ); 409 } elseif ( 'error' === $type ) { 410 wp_send_json_error( $data ); 411 } 412 wp_send_json( $data ); 413 } 414 398 415 function ecommerce_center_demo_importer_ajax_handler() { 416 // Plugins may print notices while this runs; keep them out of the JSON response. 417 ob_start(); 399 418 check_ajax_referer( 'theme_importer_nonce' ); 400 419 401 420 if ( ! current_user_can( 'edit_theme_options' ) ) { 402 wp_send_json_error( 'Permission denied.' );421 ecommerce_center_send_json( 'Permission denied.', 'error' ); 403 422 return; 404 423 } … … 416 435 // After importing theme mods, create the menu 417 436 ecommerce_center_create_demo_menu(); 418 wp_send_json_success(array(437 ecommerce_center_send_json( array( 419 438 'msg' => 'Theme mods imported successfully.', 420 439 'redirect' => home_url() 421 ) );440 ), 'success' ); 422 441 } else { 423 wp_send_json_error('Failed to import theme mods.');442 ecommerce_center_send_json( 'Failed to import theme mods.', 'error' ); 424 443 } 425 444 -
ecommerce-center/0.8.9/inc/theme-installation/assets/css/theme-installation.css
r336493 r355678 788 788 margin: 20px 0; 789 789 position: relative; 790 max-width: 7 0%;790 max-width: 75%; 791 791 mask-image: url('../img/Subtract.png'); 792 792 mask-size: 100% 100%; -
ecommerce-center/0.8.9/inc/theme-installation/assets/js/theme-installation.js
r336493 r355678 151 151 const copyBtn = document.querySelector(".custom-coupon-copy-btn"); 152 152 const copyInput = document.querySelector(".custom-coupon-banner-code"); 153 if (!copyBtn || !copyInput) { 154 return; 155 } 153 156 154 157 const text = copyInput.value || copyInput.innerText; 155 158 156 navigator.clipboard.writeText(text) 157 .then(() => { 158 copyBtn.textContent = "COPIED"; 159 }) 160 .catch(err => { 161 console.error("Copy failed:", err); 162 }); 159 // navigator.clipboard only exists on HTTPS/localhost; fall back to execCommand elsewhere. 160 if (navigator.clipboard && window.isSecureContext) { 161 navigator.clipboard.writeText(text) 162 .then(() => { 163 copyBtn.textContent = "COPIED"; 164 }) 165 .catch(() => { 166 fallbackCopy(text, copyBtn); 167 }); 168 } else { 169 fallbackCopy(text, copyBtn); 170 } 163 171 } 164 172 165 document.querySelector(".custom-coupon-copy-btn").addEventListener("click", copyCouponCode); 173 function fallbackCopy(text, copyBtn) { 174 const temp = document.createElement("textarea"); 175 temp.value = text; 176 temp.setAttribute("readonly", ""); 177 temp.style.position = "absolute"; 178 temp.style.left = "-9999px"; 179 document.body.appendChild(temp); 180 temp.select(); 181 try { 182 if (document.execCommand("copy")) { 183 copyBtn.textContent = "COPIED"; 184 } 185 } catch (e) {} 186 document.body.removeChild(temp); 187 } 188 189 const couponCopyBtn = document.querySelector(".custom-coupon-copy-btn"); 190 if (couponCopyBtn) { 191 couponCopyBtn.addEventListener("click", copyCouponCode); 192 } 166 193 }); -
ecommerce-center/0.8.9/inc/theme-installation/theme-installation.php
r336493 r355678 221 221 $button = 'button-secondary'; 222 222 if( 'pro_url' == $quick_key ){ 223 $button = 'button button- primary button-hero';223 $button = 'button button-secondary button-hero'; 224 224 } 225 225 if( 'bundle_url' == $quick_key ){ 226 $button = 'button button- primary button-hero';226 $button = 'button button-secondary button-hero'; 227 227 } 228 228 echo '<a href="'.esc_url( $quick_link['url'] ).'" class="button button-hero '.esc_attr( $button ).'" target="_blank">'.esc_html( $quick_link['text'] ).'</a>'; … … 233 233 <div class="custom-coupon-banner-inner"> 234 234 <div class="custom-coupon-banner-left"> 235 <span class="custom-coupon-banner-discount">'. esc_html__( ' 15%', 'ecommerce-center' ) . '</span>235 <span class="custom-coupon-banner-discount">'. esc_html__( '20%', 'ecommerce-center' ) . '</span> 236 236 <span class="custom-coupon-banner-off">'. esc_html__( 'OFF', 'ecommerce-center' ) . '</span> 237 237 </div> … … 242 242 <p class="custom-coupon-banner-subtext"> 243 243 '. esc_html__( 'Use Coupon Code', 'ecommerce-center' ) . ' 244 <span class="custom-coupon-banner-code">BUNDLE 15</span>244 <span class="custom-coupon-banner-code">BUNDLE20</span> 245 245 </p> 246 246 </div> … … 886 886 887 887 'tabs' => array( 888 'ecommerce_center_demo_impoter' => esc_html__( 'Demo Impo ter', 'ecommerce-center' ),888 'ecommerce_center_demo_impoter' => esc_html__( 'Demo Importer', 'ecommerce-center' ), 889 889 'ecommerce_center_pro_templates' => esc_html__( 'Pro Templates', 'ecommerce-center' ), 890 890 'ecommerce_center_free_pro' => esc_html__( 'Compare Free Vs Pro', 'ecommerce-center' ), -
ecommerce-center/0.8.9/languages/ecommerce-center.pot
r351108 r355678 4 4 msgstr "" 5 5 "Project-Id-Version: Ecommerce Center 0.8.5\n" 6 "Report-Msgid-Bugs-To: https:// WordPress.org/support/theme/ecommerce-center\n"6 "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/ecommerce-center\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 8 8 "Language-Team: LANGUAGE <LL@li.org>\n" … … 22 22 #. Theme URI of the theme 23 23 #: style.css 24 msgid "https://www.themagnifico.net/products/ecommerce- WordPress-theme"24 msgid "https://www.themagnifico.net/products/ecommerce-wordpress-theme" 25 25 msgstr "" 26 26 … … 105 105 msgstr "" 106 106 107 #. translators: %s: CMS name, i.e. WordPress.107 #. translators: %s: CMS name, i.e. wordpress. 108 108 #: footer.php:84 109 109 msgid "Proudly powered by %s" … … 125 125 126 126 #: functions.php:13 127 msgid "https:// WordPress.org/support/theme/ecommerce-center"127 msgid "https://wordpress.org/support/theme/ecommerce-center" 128 128 msgstr "" 129 129 130 130 #: functions.php:16 131 msgid "https:// WordPress.org/support/theme/ecommerce-center/reviews/#new-post"131 msgid "https://wordpress.org/support/theme/ecommerce-center/reviews/#new-post" 132 132 msgstr "" 133 133 134 134 #: functions.php:19 135 msgid "https://demo.themagnifico.net/ecommerce- WordPress-theme/"135 msgid "https://demo.themagnifico.net/ecommerce-wordpress-theme/" 136 136 msgstr "" 137 137 138 138 #: functions.php:22 139 msgid "https://www.themagnifico.net/products/ecommerce- WordPress-theme"139 msgid "https://www.themagnifico.net/products/ecommerce-wordpress-theme" 140 140 msgstr "" 141 141 … … 149 149 150 150 #: functions.php:31 151 msgid "https://www.themagnifico.net/products/ WordPress-theme-bundle"151 msgid "https://www.themagnifico.net/products/wordpress-theme-bundle" 152 152 msgstr "" 153 153 … … 284 284 285 285 #: inc/theme-installation/theme-installation.php:888 286 msgid "Demo Impo ter"286 msgid "Demo Importer" 287 287 msgstr "" 288 288 -
ecommerce-center/0.8.9/readme.txt
r351108 r355678 2 2 Contributors: TheMagnifico52 3 3 Requires at least: 5.0 4 Tested up to: 7. 04 Tested up to: 7.1 5 5 Requires PHP: 7.2 6 Stable tag: 0.8. 86 Stable tag: 0.8.9 7 7 License: GNU General Public License v3.0 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 111 111 112 112 == Changelog == 113 114 = 0.8.9 = 115 * Fixed Styling Issues. 113 116 114 117 = 0.8.8 = -
ecommerce-center/0.8.9/style.css
r351108 r355678 3 3 Theme Name: Ecommerce Center 4 4 Author: TheMagnifico52 5 Theme URI: https://www.themagnifico.net/products/ecommerce- WordPress-theme5 Theme URI: https://www.themagnifico.net/products/ecommerce-wordpress-theme 6 6 Author URI: https://www.themagnifico.net/ 7 7 Description: The Ecommerce center serves as an ideal platform for creating a variety of e-commerce websites, such as clothing stores, interior shops, and fashion boutiques, along with online outlets for smart home products, AR/VR headsets, and gadgets. This versatile magazine theme accommodates a multitude of needs, ranging from apparel and cosmetic retailers to bookstores and baby stores, making it suitable for any e-business, e-marketing, or B2B endeavor. Whether you're aiming to launch a kitchen shop or an organic retail space, this modern design offers a luxurious, retina-ready aesthetic and a user-friendly experience, complete with extensive customization options. Its SEO-friendly features enhance visibility on search engines like Google, while shortcodes and translation-ready functionality with RTL support make it easy to manage. Built on the Bootstrap framework, it ensures user-friendliness and quick loading times, alongside secure coding and seamless social media integration. With AJAX capabilities, it enriches the user experience, making it an excellent choice for your next news magazine publication or editorial project focused on e-commerce. 8 Version: 0.8. 89 Tested up to: 7. 08 Version: 0.8.9 9 Tested up to: 7.1 10 10 Requires PHP: 7.2 11 11 Requires at least: 5.0
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)