[resolved] Random images are not random

HomeForumsPlugins[resolved] Random images are not random

This topic has 1 voice, contains 4 replies, and was last updated by  Marcel 192 days ago.

Viewing 5 posts - 1 through 5 (of 5 total)
Author Posts
Author Posts
7 November 2011 at 9:06 #3517

Baf

I have installed 3.0.1 lazyest-widgets plugin, but still random images widget display static images for me, even in IE and Firefox. Can you check that? I have no caching plugins yet…

7 November 2011 at 9:24 #3519

Baf

Sorry, I must to do RTFM:
“The images will be stored in a buffer and will be served for all visitors in the next 10 minutes.”

So, then can I change that time frame?

7 November 2011 at 11:54 #3520

Marcel

yes you can

 
function my_refresh( $refresh ) {
  return 5;
}
add_filter( 'lazyest_widget_random_refresh', 'my_refresh' );
 

In this example, random images will be refreshed after 5 minutes.

7 November 2011 at 14:54 #3537

Baf

Thanks!

Add that to your Codex :)

7 November 2011 at 15:29 #3541

Marcel

Will be in the codex sometime. ;-)

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

The topic ‘[resolved] Random images are not random’ is closed to new replies.

RSS RSS feed for this Topic