Title: Slider Expirer
Last modified: August 22, 2016

---

# Slider Expirer

 *  [memekode](https://wordpress.org/support/users/memekode/)
 * (@memekode)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/slider-expirer/)
 * Does anyone know if this plugin has an expirer or if there is a plugin that works
   with it to expire my slides?
 * [https://wordpress.org/plugins/ml-slider/](https://wordpress.org/plugins/ml-slider/)

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

 *  [matchalabs](https://wordpress.org/support/users/matchalabs/)
 * (@matchalabs)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/slider-expirer/#post-5313053)
 * Hi memekode,
 * There’s no scheduling functionality in Meta Slider. There might be a plugin our
   there that can delete Media Files on a given date which would give you the same
   functionality (slides are just Media Files, so you can see them in the ‘Media’
   section of WordPress).
 * Regards,
    Tom
 *  [codingninja](https://wordpress.org/support/users/codingninja/)
 * (@codingninja)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/slider-expirer/#post-5313186)
 * I posted this on a different forum, but I’ll post it here as well, as it may 
   be helpful if you’re still looking for an expire slides functionality:
 * jQuery bit:
 *     ```
       $('.slides li').each(function(){
               if($(this).find('.expire').length) {
                   var expireDate = new Date($(this).find('.expire').text()).getTime();
                   var currentDate = new Date().getTime();
                   if(expireDate < currentDate) {
                       $(this).remove();
                   }
               }
           });
       ```
   
 * You’ll want to put it inside of the jQuery(document).ready(function($){}); So
   if you have other scripts in there, you can add it to there.
 * Put this into the Meta Slider “General” field on a slide by slide basis:
    `<span
   class="expire">2015/1/20</span>`
 * And for the CSS
 *     ```
       .expire {
           display: none;
       }
       ```
   
 * Note: The user will still have to delete the slide, but at least the slide disappears
   when expired.

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

The topic ‘Slider Expirer’ is closed to new replies.

 * ![](https://ps.w.org/ml-slider/assets/icon.svg?rev=3523572)
 * [Slider, Gallery, and Carousel by MetaSlider - Image Slider, Video Slider](https://wordpress.org/plugins/ml-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ml-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ml-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/ml-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ml-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ml-slider/reviews/)

## Tags

 * [end date](https://wordpress.org/support/topic-tag/end-date/)

 * 2 replies
 * 3 participants
 * Last reply from: [codingninja](https://wordpress.org/support/users/codingninja/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/slider-expirer/#post-5313186)
 * Status: not resolved