Viewing 2 replies - 1 through 2 (of 2 total)
  • 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

    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.