• This is the code I am looking at: The code snippet from a slider plugin, calls back the first slide when the slideshow is over. I instead want the last slide to call next wordpress post. Is there a way to do this?

    getNext : function( base ) {
            base = typeof base === 'number' ? base : this.getIndex();
            return base === this.getDataLength() - 1 ? 0 : base + 1;
        },
    next : function() {
            if ( this.getDataLength() > 1 ) {
                this.show( this.getNext(), false );
            }
            return this;
        },

The topic ‘Trigger next post in Jquery slider’ is closed to new replies.