This repository contains HTML, CSS, and JavaScript code for implementing a Telegram push notification feature in a WordPress website. This feature displays a popup after 1 minute asking users if they want to join a Telegram channel when they visit the website.
To use this Telegram push notification feature in your WordPress website, follow these steps:
- Copy the HTML code to your desired location in your WordPress theme.
- Add the CSS code to your theme's stylesheet or customize it as needed.
- Include the JavaScript code in your theme's scripts or enqueue it separately.
- Replace the placeholder
'https://telegram.me/username'
with your Telegram channel URL.
- When a user visits the website, a popup will appear asking if they want to join the Telegram channel.
- Clicking "Yes" will open the Telegram channel in a new tab.
- Clicking "No" will hide the popup for one day.
This project is licensed under the GPL-3.0 License - see the LICENSE file for details.