Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 1.38 KB

README.md

File metadata and controls

35 lines (20 loc) · 1.38 KB

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