https://github.com/jalandhar04/telegram-push-notification
An implementation of Telegram push notification feature in a WordPress website that displays a popup after 1 minute asking users if they want to join a Telegram channel when they visit the website.
https://github.com/jalandhar04/telegram-push-notification
push-notifications telegram web-share-api wordpress
Last synced: 2 months ago
JSON representation
An implementation of Telegram push notification feature in a WordPress website that displays a popup after 1 minute asking users if they want to join a Telegram channel when they visit the website.
- Host: GitHub
- URL: https://github.com/jalandhar04/telegram-push-notification
- Owner: jalandhar04
- License: gpl-3.0
- Created: 2024-02-25T12:27:45.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-29T12:00:11.000Z (about 1 year ago)
- Last Synced: 2025-01-17T09:27:57.651Z (4 months ago)
- Topics: push-notifications, telegram, web-share-api, wordpress
- Language: HTML
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Telegram Push Notification
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.
## Demo

## Installation
To use this Telegram push notification feature in your WordPress website, follow these steps:
1. Copy the HTML code to your desired location in your WordPress theme.
2. Add the CSS code to your theme's stylesheet or customize it as needed.
3. Include the JavaScript code in your theme's scripts or enqueue it separately.
4. Replace the placeholder `'https://telegram.me/username'` with your Telegram channel URL.## Usage
- 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.## License
This project is licensed under the GPL-3.0 License - see the [LICENSE](LICENSE) file for details.
## Author
- [Jalandhar Paswan](https://jalandharpaswan.com/)
## Repository
- GitHub: [https://github.com/jalandhar04/Telegram-Push-Notification.git](https://github.com/jalandhar04/Telegram-Push-Notification.git)