Plugin Directory

Changeset 3326734


Ignore:
Timestamp:
07/12/2025 11:53:31 AM (9 months ago)
Author:
tulipwork
Message:

Mise à jour du plugin ATHS vers la version 2.7

Location:
add-to-home-screen-wp/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • add-to-home-screen-wp/trunk/add-to-home-screen-wp.php

    r3287242 r3326734  
    44Plugin URI: https://tulipemedia.com/en/add-to-home-screen-wordpress-plugin/
    55Description: 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.8
     6Version: 2.7
    77Author: Ziyad Bachalany
    88Author URI: https://tulipemedia.com
     
    12661266        'scope' => home_url('/'),
    12671267        'display' => 'standalone',
    1268         'background_color' => '#ffffff',
     1268        'background_color' => apply_filters('athswp_topbar_spinner_color', '#ffffff'),
    12691269        'theme_color' => $topbar_spinner_color,
    12701270        'context' => 'frontend',
  • add-to-home-screen-wp/trunk/athswp-pwa.js

    r3277757 r3326734  
    6565
    6666            // 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
    6778            let startY = 0;
    6879            let pullDistance = 0;
     
    7384
    7485            document.addEventListener('touchstart', function(e) {
     86                if (isInSidebar(e.target)) {
     87                    return; // Ignore si geste commence dans la sidebar
     88                }
    7589                // Vérifier si l'utilisateur est presque au sommet de la page
    7690                setTimeout(() => {
     
    86100
    87101            document.addEventListener('touchmove', function(e) {
     102                if (isInSidebar(e.target)) {
     103                    return; // Ignore si geste se déplace dans la sidebar
     104                }
    88105                if (!isPulling) return; // Sortir si le geste n'a pas commencé au sommet
    89106
  • add-to-home-screen-wp/trunk/readme.txt

    r3287242 r3326734  
    55Requires at least: 6.7
    66Tested up to: 6.8
    7 Stable tag: 2.6.8
     7Stable tag: 2.7
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    1818🚀 Your site instantly transforms into a fast, smooth Web App, delivering **a native-like mobile experience** without the cost of building an app.
    1919
     20🛠️ Works seamlessly on both single-site and multisite installations. Network-wide settings are available for consistent configuration across all subsites.
     21
    2022*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]
    2126
    2227= Why Choose This Plugin? =
     
    2732- **Free & Pro Options**: Start with robust free features and unlock premium capabilities for advanced customization and analytics.
    2833
    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.
    3035
    3136= Free Features =
     
    4449- **Loading Spinner**: Display a smooth, customizable loading spinner while your app content loads — fully integrated with your brand colors.
    4550- **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.
    4652- **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.
    4753- **Advanced Prompts**: Fine-tune dashboard prompts for iOS and Android, with custom messages and icons.
     
    1231296. Pro settings page with advanced PWA options and stats.
    1241307. Dashboard prompt for adding the admin dashboard as a PWA (Pro feature).
     1318. Custom-colored bottom bar with Back, Forward, and Share buttons for smooth navigation in PWA mode (Pro feature)
    125132
    126133== Changelog ==
     134
     135= 2.7 =
     136* **Improved**: Improved code structure and efficiency.
    127137
    128138= 2.6.8 =
     
    174184
    175185== Upgrade Notice ==
     186= 2.7 =
     187Improved code structure and efficiency.
    176188
    177189= 2.6.8 =
Note: See TracChangeset for help on using the changeset viewer.