Changeset 3326734
- Timestamp:
- 07/12/2025 11:53:31 AM (9 months ago)
- Location:
- add-to-home-screen-wp/trunk
- Files:
-
- 3 edited
-
add-to-home-screen-wp.php (modified) (2 diffs)
-
athswp-pwa.js (modified) (3 diffs)
-
readme.txt (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
add-to-home-screen-wp/trunk/add-to-home-screen-wp.php
r3287242 r3326734 4 4 Plugin URI: https://tulipemedia.com/en/add-to-home-screen-wordpress-plugin/ 5 5 Description: Turn your WordPress site into a Web App (PWA) with a stylish 'Add to Home Screen' prompt for iOS & Android. Boost engagement without native app costs! 6 Version: 2. 6.86 Version: 2.7 7 7 Author: Ziyad Bachalany 8 8 Author URI: https://tulipemedia.com … … 1266 1266 'scope' => home_url('/'), 1267 1267 'display' => 'standalone', 1268 'background_color' => '#ffffff',1268 'background_color' => apply_filters('athswp_topbar_spinner_color', '#ffffff'), 1269 1269 'theme_color' => $topbar_spinner_color, 1270 1270 'context' => 'frontend', -
add-to-home-screen-wp/trunk/athswp-pwa.js
r3277757 r3326734 65 65 66 66 // Pull-to-refresh 67 function isInSidebar(target) { 68 while (target) { 69 if (target.id === 'adminmenuwrap' || target.id === 'adminmenu' || 70 target.classList && (target.classList.contains('wp-submenu') || target.classList.contains('wp-menu-name'))) { 71 return true; 72 } 73 target = target.parentNode; 74 } 75 return false; 76 } 77 67 78 let startY = 0; 68 79 let pullDistance = 0; … … 73 84 74 85 document.addEventListener('touchstart', function(e) { 86 if (isInSidebar(e.target)) { 87 return; // Ignore si geste commence dans la sidebar 88 } 75 89 // Vérifier si l'utilisateur est presque au sommet de la page 76 90 setTimeout(() => { … … 86 100 87 101 document.addEventListener('touchmove', function(e) { 102 if (isInSidebar(e.target)) { 103 return; // Ignore si geste se déplace dans la sidebar 104 } 88 105 if (!isPulling) return; // Sortir si le geste n'a pas commencé au sommet 89 106 -
add-to-home-screen-wp/trunk/readme.txt
r3287242 r3326734 5 5 Requires at least: 6.7 6 6 Tested up to: 6.8 7 Stable tag: 2. 6.87 Stable tag: 2.7 8 8 Requires PHP: 7.4 9 9 License: GPLv2 or later … … 18 18 🚀 Your site instantly transforms into a fast, smooth Web App, delivering **a native-like mobile experience** without the cost of building an app. 19 19 20 🛠️ Works seamlessly on both single-site and multisite installations. Network-wide settings are available for consistent configuration across all subsites. 21 20 22 *Perfect for blogs, businesses, e-commerce, online courses and WordPress multisite networks.* 23 24 = 📺 Watch the quick video introduction = 25 [youtube https://www.youtube.com/watch?v=u2h0_h3ct48] 21 26 22 27 = Why Choose This Plugin? = … … 27 32 - **Free & Pro Options**: Start with robust free features and unlock premium capabilities for advanced customization and analytics. 28 33 29 **2025 Update**: Version 2.6.7 brings enhanced performance, improved multisite support, and new Pro features to make your PWA shine! Fully compliant with WordPress standards and optimized for the latest devices.34 **2025 Update**: Enhanced performance, improved multisite support, and new Pro features to make your PWA shine! Fully compliant with WordPress standards and optimized for the latest devices. 30 35 31 36 = Free Features = … … 44 49 - **Loading Spinner**: Display a smooth, customizable loading spinner while your app content loads — fully integrated with your brand colors. 45 50 - **Pull to Refresh**: Offer users a native-like refresh gesture on your Web App, just like on real mobile apps. 51 - **Bottom Navigation Bar**: Enhance your PWA with a sleek, customizable bottom bar featuring Back, Forward, and Share buttons — for a smoother and more app-like mobile experience. 46 52 - **Dashboard PWA Support**: Add the WordPress admin dashboard as a web app for quick mobile access — ideal for logged-in users or clients who need fast, app-like access to the WordPress backend. 47 53 - **Advanced Prompts**: Fine-tune dashboard prompts for iOS and Android, with custom messages and icons. … … 123 129 6. Pro settings page with advanced PWA options and stats. 124 130 7. Dashboard prompt for adding the admin dashboard as a PWA (Pro feature). 131 8. Custom-colored bottom bar with Back, Forward, and Share buttons for smooth navigation in PWA mode (Pro feature) 125 132 126 133 == Changelog == 134 135 = 2.7 = 136 * **Improved**: Improved code structure and efficiency. 127 137 128 138 = 2.6.8 = … … 174 184 175 185 == Upgrade Notice == 186 = 2.7 = 187 Improved code structure and efficiency. 176 188 177 189 = 2.6.8 =
Note: See TracChangeset
for help on using the changeset viewer.