Marquee Text Plugin
A lightweight WordPress plugin that adds a responsive, animated marquee banner to the top of your site. Features smooth scrolling text, a close button with session storage, gradient styling, and easy setup—perfect for announcements, promos, or urgent updates.
by Ahmet Batuhan Yigit · github.com/batuhanyigitt/wordpress_marquee_text_plugin
★ 1stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/batuhanyigitt/wordpress_marquee_text_plugin/archive/refs/heads/main.zip📢 WordPress Announcement Marquee Banner
A lightweight, customizable WordPress plugin that displays a sleek, animated announcement banner at the top of your site. Perfect for promotions, urgent notices, or special updates.
✨ Features
- Smooth scrolling marquee effect for your announcement text
- Close button with session storage – visitors can dismiss the banner, and it stays hidden until a new session
- Responsive design with gradient background, shadows, and hover effects
- Easy integration: enqueue the script and styles, set your announcement text in marquee_params, and you’re live.
- Lightweight CSS and JS—no dependencies, minimal performance impact.
🚀 Usage
- Upload the plugin to your /wp-content/plugins/ directory and activate it.
- Edit your theme or plugin to set marquee_params.marqueeText with your announcement.
- Style overrides are easy via the included CSS files or your theme’s stylesheet.
🛠 Tech
- JavaScript: Vanilla JS for DOM manipulation and event handling.
- CSS3: Keyframe animations for smooth scrolling and responsive layout.
- WordPress: Uses standard enqueueing and session storage for banner state.