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.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.9.1
这个插件是可用的下载,适用于您的站点。