plugin-icon

Smart Promotion Manager

Easily manage promo blocks with custom content, images, CTAs, and expiry dates. Display via shortcode or REST API with caching.
Versione
1.0.0
Ultimo aggiornamento
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.

Gratuitosul piano Business
Testato fino alla versione
WordPress 6.9.1
Questo plugin ora può essere scaricato per il tuo sito .