Skip to content

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.

License

Notifications You must be signed in to change notification settings

jalandhar04/Telegram-Push-Notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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 file for details.

Author

Repository

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published