An open API service indexing awesome lists of open source software.

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.

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

![My Video](https://github.com/jalandhar04/Telegram-Push-Notification/assets/98611278/31cf69f7-c98c-457d-a468-c6204433e881)

## 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)