
內容簡介
Hastika Promo Bar 是一款強大且輕量的公告欄外掛,專為 WordPress 設計。它允許用戶在網站頂部創建美觀且高度可自訂的公告欄,具備豐富的目標設定選項、排程功能、動畫效果、倒數計時器及內建分析工具。
【主要功能】
• 無限公告:可創建任意數量的公告
• 自動輪播:平滑切換多個公告
• 倒數計時器:創造緊迫感
• 高級目標設定:依用戶角色及裝置類型控制可見性
• WooCommerce 整合:針對特定客戶進行目標設定
• 內建分析:追蹤公告的點擊率和觀看次數
外掛標籤
開發者團隊
原文外掛簡介
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
Multi-Calendar Support – Native Gregorian and Persian (Jalali) date/time pickers for announcement scheduling
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 personal data.
Use cookies.
Send data to external servers.
Load external tracking scripts.
The plugin stores anonymous analytics data (such as view and click counts) locally in the WordPress database.
