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
このプラグインをダウンロードして、 サイトに使用できます。