Hastika Promo Bar
·
A lightweight announcement bar plugin for WordPress. Display announcement bars with targeting, scheduling, countdown timers, and built-in analytics.
Hastika Promo Bar is a powerful yet lightweight announcement bar plugin designed for WordPress. Create beautiful, highly customizable announcement bars at the top of your website with rich targeting options, scheduling, animations, countdown timers, and built-in analytics.
Key Features
- Unlimited Announcements – Create as many announcements as you need
- Auto-Rotation – Cycle through multiple announcements with smooth animations
- 20+ Animation Effects – Fade, slide, zoom, flip, bounce, and more
- Countdown Timers – Create urgency with live countdown timers
- Scheduling – Set start and end dates for automatic activation/deactivation
- Advanced Targeting – Control visibility by user role, login state, device type, and specific pages
- WooCommerce Integration – Target customers, non-customers, or users who purchased specific products/categories
- Clickable Bars – Make entire announcements clickable or add CTA buttons
- Built-in Analytics – Track views, clicks, and CTR without external services
- RTL Support – Full support for right-to-left languages
- Lightweight & Fast – Pure JavaScript, no jQuery dependency, minimal assets
- Fully Accessible – Keyboard navigation, ARIA labels, screen reader friendly
- Responsive Design – Perfect display on mobile, tablet, and desktop
- Import/Export – Backup and transfer settings via JSON
Perfect For
- Product launches and special offers
- Event announcements
- Flash sales with countdown timers
- Important site-wide notifications
- Holiday promotions
- Cookie notices
- Newsletter signups
Bar Position Options
- Standard – Scrolls naturally with the page
- Fixed – Stays at the top while scrolling
Display Control
- Set display delay (immediate or custom milliseconds)
- Choose default open/collapsed state
- User toggle with customizable persistence (session, 24h, 7d, 30d)
- Device visibility (all, desktop only, mobile only, tablet only)
- Show to specific user roles
- Show to logged-in users, guests, or all visitors
- Exclude/include specific pages by ID
Per-Announcement Options
- Enable/disable status
- Custom text with basic HTML support
- Per-announcement colors (overrides global settings)
- Device visibility override
- User type targeting
- Start/end date scheduling
- CTA button with custom colors and URL
- Make entire bar clickable
- Optional icon (Dashicon or custom SVG)
- Countdown timer with auto-hide option
- WooCommerce customer targeting
Appearance Customization
- Adjustable bar height (30-300px)
- Content alignment (left, center, right)
- Content order (text then CTA, or CTA then text)
- Global and per-announcement colors
- Font size control for text and CTA
- Icon support (Dashicons or custom SVG)
- Icon position (before or after text)
Built-in Analytics
Track performance without external services:
- Total views per announcement
- Total clicks per announcement
- Click-through rate (CTR) percentage
- Reset analytics per announcement
- No tracking scripts loaded
- Completely internal
Technical Highlights
- WordPress Coding Standards compliant
- Translation ready with .pot file included
- Secure: nonce verification, sanitization, escaping
- No PHP warnings or notices
- OOP architecture
- Lightweight: <100KB total assets
- No external dependencies
- SEO-friendly implementation
When Disabled
When the plugin is disabled, zero frontend assets are loaded:
- No HTML output
- No CSS loaded
- No JavaScript loaded
-
No database queries
Privacy Policy
Hastika Promo Bar does not:
-
Collect any personal data
- Use cookies
- Send data to external servers
- Load external tracking scripts
The plugin stores anonymous analytics data (view and click counts) locally in your WordPress database.