• Resolved bmccloskey

    (@bmccloskey)


    Hello, my client has a custom logo/icon that they want displayed on the loading screen of the home page. But they want the page to linger a little longer. I know that’s counter productive to a fast site but they want it to delay a little. How can I do that.

    ALSO I submitted a ticket on your website for the Pro version of this plugin. Waiting on a reply

    https://ww.wp.xz.cn/plugins/loading-page/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    Please, in this case, follows the steps below:

    1. Open the javascript file corresponding to the loading screen selected in your website, with the text editor your choice. The loading screens are stored in the “/wp-content/plugins/loading-page/loading-screens” directory.

    2. Go to the snippet of code:

    callback();

    and modifies it as follows:

    setTimeout(function(){callback();}, 3000 );

    3. Finally, clear the browser’s cache, after edit the online file.

    Best regards.

    Thread Starter bmccloskey

    (@bmccloskey)

    Plugin Author codepeople

    (@codepeople)

    Hi,

    Please, modifies the “complete” function as follows:

    complete : function(callback){
    	var me = this;
    	setTimeout( function(){
    		callback();
    		me.attr['overlay'].fadeOut(500, function () {
    			me.attr['overlay'].remove();
    		});
    	}, 3000 );
    }

    or you can increase the fadeOut interval:

    complete : function(callback){
    	callback();
    	var me = this;
    	this.attr['overlay'].fadeOut(5000, function () {
    		me.attr['overlay'].remove();
    	});
    }

    Best regards.

    Thread Starter bmccloskey

    (@bmccloskey)

    Perfect! The first code didn’t work but the fade out will suffice!

    Hmm, thanks, exactly what I had in my mind 😀

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

The topic ‘Loading Page Delay Request’ is closed to new replies.