Title: Add &#8220;end date&#8221;
Last modified: March 19, 2022

---

# Add “end date”

 *  Resolved [xampit](https://wordpress.org/support/users/xampit/)
 * (@xampit)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/add-end-date/)
 * Hi there,
 * I really like your plugin, but right now for me it’s to risky to use, because
   people tend to forget to remove the banner when it’s not needed anymore. Do you
   think you could add a “end date” from which on it’ll get not shown anymore? That
   would be just amazing!
 * Best
    Max

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [WPExplorer](https://wordpress.org/support/users/wpexplorer/)
 * (@wpexplorer)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/add-end-date/#post-15475667)
 * Hi Max,
 * I actually just commented on the rating you let where you mentioned the same 
   thing. Basically the issue with having an end date functionality is that you 
   would still need to log into your site/CDN to manually clear the cache anyway–
   since all WP sites use/should be using caching for the frontend.
 * And sure it could integrate with some caching plugins, but there are so many 
   out there and also most of the good WordPress hosting solutions don’t even use
   a plugin, they have built-in cache which in some cases can’t be “hooked” into
   by a plugin. Trying to hook into every possibly scenario to ensure your cache
   is cleared after the “end date” would be nearly impossible and just bring its
   own set of concerns.
 * – AJ
 *  Thread Starter [xampit](https://wordpress.org/support/users/xampit/)
 * (@xampit)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/add-end-date/#post-15475761)
 * Hi AJ,
 * I see your point. Right now I’m using this plugin: [https://de.wordpress.org/plugins/wpfront-notification-bar/](https://de.wordpress.org/plugins/wpfront-notification-bar/)
 * I had no problems with the “end date” functionality so far, but as I don’t have
   any performance issues, I also don’t use any caching plugins 😅
 * Best
    Max
 *  Plugin Author [WPExplorer](https://wordpress.org/support/users/wpexplorer/)
 * (@wpexplorer)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/add-end-date/#post-15475779)
 * Hi Max,
 * Even if you don’t have performance issues, caching helps drastically reduce the
   load on the server so if your site gets any traffic at all it would definitely
   be a good idea to setup caching to reduce server strain, prevent possible server
   throttling and of course speed up loading times. It’s also possible your server
   already has proper caching setup, most good WP hosting solutions have built-in
   cache so there is no need for a caching plugin.
 * If that plugin you mentioned already has the function you need, why are you considering
   switching to this one? Just curious.
 * It’s possible the plugin is passing the end/start dates to a javascript file 
   and then using that to hide the message, which would bypass any caching concerns.
   But this does bloat up the plugin functionality.
 * I made this plugin to be slim and fast so I’m just hesitant to add more code/
   bloat unless I get significant requests for the feature. For example when I first
   released the plugin it didn’t have a “dismiss” functionality and that’s something
   I ended up adding because of the incredible amount of requests for it.
 * Hope you are having a nice weekend and not working too hard like me 😉
 * – AJ
 *  Thread Starter [xampit](https://wordpress.org/support/users/xampit/)
 * (@xampit)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/add-end-date/#post-15475816)
 * Hi AJ,
 * I try to use free/(company) independent solutions wherever it’s possible because
   I like the open source sentiment. I also like how you integrated the configuration
   in the design/customize sections and in general the configuration is really simple(
   also way easier than with the other plugin). But I see you point.
 * Thanks for your time anyways and have a nice weekend as well.
 * Best
    Max
 *  Plugin Author [WPExplorer](https://wordpress.org/support/users/wpexplorer/)
 * (@wpexplorer)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/add-end-date/#post-15477379)
 * Hi Max,
 * By the way…there are hooks available in the plugin, so if you wanted to could
   hook into “easy_notification_bar_is_enabled” and integrate your own end date 
   function via a child theme code or addon plugin.
 * – To add a new setting you could use native [WordPress functions](https://developer.wordpress.org/themes/customize-api/customizer-objects/)–
   the customizer panel name for this plugin is “easy_nb” so you can add a new end
   date setting hooked into the same panel.
    – Then you would hook into “easy_notification_bar_is_enabled”
   to test against your added custom end date setting and return false if the date
   is set and past.
 * – AJ

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Add “end date”’ is closed to new replies.

 * ![](https://ps.w.org/easy-notification-bar/assets/icon-256x256.png?rev=2515988)
 * [Easy Notification Bar](https://wordpress.org/plugins/easy-notification-bar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-notification-bar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-notification-bar/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-notification-bar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-notification-bar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-notification-bar/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [WPExplorer](https://wordpress.org/support/users/wpexplorer/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/add-end-date/#post-15477379)
 * Status: resolved