Jack
Forum Replies Created
-
Thanks for your high evaluation.
I had upgrade Simple Lazyload plugin to be able to custmize lazy load scope.
Two features has been added to this plugin:
* upgrade: add ‘simple_lazyload_skip_lazyload’ filter, use this you can customize lazy load scope.
* upgrade: add lazy load switch for images, when an image contains ‘skip_lazyload’ class or attribute, it will no longer be lazy loaded.For example, if you want homepage don’t use lazy load, you can add a add_filter in functions.php of current theme. Here is the code:
add_filter(‘simple_lazyload_skip_lazyload’, ‘simple_lazyload_skip_lazyload_func’);
function simple_lazyload_skip_lazyload_func($skip_lazyload) {
if (is_home()) {
return true;
}
}If you want some specified images don’t use load load, you can add ‘skip_lazyload’ class or attribute to them. After added, images’ source code may like this:
<img src=”http://www.xxx.com/images/1.jpg” skip_lazyload/>
<img src=”http://www.xxx.com/images/2.jpg” skip_lazyload/>
<img src=”http://www.xxx.com/images/3.jpg” skip_lazyload/>Forum: Everything else WordPress
In reply to: Why can't i post or reply here?When i loged in forum use ‘xiaoxu125634’ account, there’s no New Topic form displayed in the bottom, while use ‘brunoxu’ appears.
Forum: Everything else WordPress
In reply to: Why can't i post or reply here?Help me please!
Forum: Everything else WordPress
In reply to: Why can't i post or reply here?I had to register a new account so i can post this question.