Chandumama

Our Best Beautiful Art Collections

01 Gallery image 1
Category

Canvas Painting

View More Arts →
02 Gallery image 2
Category

Resin Art Designs

View More Arts →
03 Gallery image 3
Category

Strcture Paintings

View More Arts →
04 Gallery image 4
Category

Leaf Paintings

View More Arts →
05 Gallery image 5
Category

Yoga Lamp

View Details →
06 Gallery image 6
Category

Learning Kits

View Product →
07 Gallery image 7
Category

Magic Indicator

Comming Soon →
08 Gallery image 8
Category

Relax Pad

Comming Soon →

Our Bestsellers on Amazon

Chandumama's Best Canvas Paintings

Chandumama's Best Resin Art Designs

Chandumama's Best Structure Paintings

Chandumama's Best Leaf Paintings

Premium Quality
We use high-grade canvas, professional acrylics, and archival varnishes to ensure your art lasts a lifetime.
Secure Packaging
Each painting is wrapped in multi-layer protective packaging, ensuring it reaches you in pristine condition.
Custom Commissions
Looking for something unique? Contact us for custom paintings tailored to your specific theme and space.

Master the Art of Calligraphy

Unlock your creative potential with our Premium Calligraphy Kit. Designed for beginners and experts alike, bring beauty to every stroke.

Explore Our Learning Kits

Chandumama's Best Learning Kits for Beginners

WordPress Promotional WhatsApp Popup

WordPress Promotional Popup

Recurring Every 10s • Transparent Background • Clickable Link

Session Status: Ready Countdown: 10s

Live Interactive Tester

The timer below counts down from 10 seconds. When completed, the modal overlay fades in seamlessly. Closing it stores a sessionStorage flag so it won't re-appear on refresh during this session.

Trigger Timing

10 Seconds Delay

Session Control

sessionStorage

Click Action Target

WhatsApp Direct

Dependencies

100% Vanilla JS

WordPress Integration Code

Copy this complete block into your WordPress Header, Footer, or Custom HTML widget

How to add this to WordPress:

Method 1 (Easiest)

WPCode / Header Footer Plugin

Install "WPCode" plugin, add a new snippet (Type: HTML), paste code, set location to "Footer", and save.

Method 2

Elementor / Page Builder

Add an "HTML" element to your global Footer template and paste the code block directly into it.

Method 3

Theme footer.php

Navigate to Appearance > Theme File Editor > footer.php, paste code right before </body> tag.

<!-- ==========================================
     WordPress Promotional Popup (No Background Overlay - Every 10s)
     ========================================== -->
<style>
.wp-promo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; /* No dark backdrop */
    backdrop-filter: none;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 16px;
    box-sizing: border-box;
    pointer-events: none;
}

.wp-promo-overlay.active {
    opacity: 1;
    visibility: visible;
}

.wp-promo-modal {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    pointer-events: auto;
}

.wp-promo-overlay.active .wp-promo-modal {
    transform: scale(1) translateY(0);
}

.wp-promo-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease, transform 0.2s ease;
    outline: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.wp-promo-close-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.wp-promo-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    outline: none;
    overflow: hidden;
}

.wp-promo-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.wp-promo-image-link:hover .wp-promo-image {
    transform: scale(1.02);
}

@media (max-width: 480px) {
    .wp-promo-modal {
        max-width: 95%;
        border-radius: 12px;
    }
    .wp-promo-close-btn {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}
</style>

<!-- Popup HTML Markup -->
<div id="wpPromoOverlay" class="wp-promo-overlay" aria-hidden="true" role="dialog" aria-modal="true">
    <div class="wp-promo-modal">
        <button id="wpPromoClose" class="wp-promo-close-btn" aria-label="Close promotional popup">&times;</button>
        <a href="https://wa.me/919290071096" target="_blank" rel="noopener noreferrer" class="wp-promo-image-link" id="wpPromoLink">
            <img src="https://chandumama.com/wp-content/uploads/2026/08/WhatsApp-Image-2026-08-03-at-6.23.03-PM.jpeg" 
                 alt="Special Promotional Offer" 
                 class="wp-promo-image"
                 loading="eager">
        </a>
    </div>
</div>

<!-- Popup Logic JavaScript -->
<script>
(function() {
    'use strict';
    
    var INTERVAL_MS = 10000; // Triggers every 10 seconds

    function showPopup() {
        var overlay = document.getElementById('wpPromoOverlay');
        var closeBtn = document.getElementById('wpPromoClose');
        var link = document.getElementById('wpPromoLink');

        if (!overlay) return;

        // Show overlay with transition
        overlay.classList.add('active');
        overlay.setAttribute('aria-hidden', 'false');

        // Function to close popup
        function closePopup(e) {
            if (e) e.stopPropagation();
            overlay.classList.remove('active');
            overlay.setAttribute('aria-hidden', 'true');
        }

        if (closeBtn) {
            closeBtn.onclick = closePopup;
        }

        // Close on ESC key press
        document.addEventListener('keydown', function(e) {
            if (e.key === 'Escape' && overlay.classList.contains('active')) {
                closePopup();
            }
        });

        if (link) {
            link.onclick = function() {
                setTimeout(closePopup, 300);
            };
        }
    }

    function initPromoPopup() {
        // Initial trigger after 10s
        setTimeout(function() {
            showPopup();
            // Automatically repeat every 10 seconds
            setInterval(showPopup, INTERVAL_MS);
        }, INTERVAL_MS);
    }

    if (document.readyState === 'loading') {
        document.addEventListener('DOMContentLoaded', initPromoPopup);
    } else {
        initPromoPopup();
    }
})();
</script>
Code copied to clipboard!
Scroll to Top