plugin-icon

Smart Promotion Manager

作者 dhrashtidev·
Easily manage promo blocks with custom content, images, CTAs, and expiry dates. Display via shortcode or REST API with caching.
版本
1.0.0
最近更新:
Jan 27, 2026

Smart Promotion Manager is a simple WordPress plugin that allows you to create and manage dynamic promo blocks on your site. Perfect for displaying promotional content, announcements, or featured items with expiration dates and custom call-to-action buttons.

Key Features

  • Custom Post Type: Easy-to-use Promo Blocks post type with WYSIWYG editor
  • Custom Fields: CTA text, CTA URL, display priority, and expiry date
  • Shortcode Support: Display promos anywhere with [dynamic_promo] shortcode
  • REST API: Access promo data via /wp-json/dcm/v1/promos endpoint
  • Smart Caching: Built-in transient caching with configurable TTL
  • AJAX Loading: Optional AJAX loading for better performance
  • Expiry Management: Automatically hide expired promos
  • Priority Ordering: Control display order with priority numbers
  • WP-CLI Support: Clear cache via wp sprom clear-cache command

Performance Features

  • Transient-based caching system
  • Conditional asset loading (CSS/JS only when needed)
  • Lazy loading images
  • Efficient database queries
  • Optional AJAX loading mode

Support

For support, feature requests, or bug reports, please contact the plugin author.

Credits

Developed by Dhrashti Patel.

免費使用Business方案
目前已測試版本
WordPress 6.9.1
此外掛程式已可供下載,並可用於你 系統。