cookie_dude
Forum Replies Created
-
Thanks, and i’ll look into getting a better one!
Please some mod delete my email address from the topic, as i’ve started getting spam!
Your Welcome 😛
You are using class so it will be
if (navigator.platform == "iPad") return; jQuery(".storycontent img").lazyload({if it’s class= then it’s .classname and if it’s id= then it’s #idname
Hey Farhan here 😛
Basically you need to edit the plugin file called jq_img_lazy_load.php and around line 27 you’ll see the following code.
if (navigator.platform == "iPad") return; jQuery("img").lazyload({Just change that the “img” to include the single post div. Only that area div will be effected by the plugin then.
Let me know your site if you don’t understand and i’ll tell you the code for that.
if (navigator.platform == "iPad") return; jQuery("#singlepostdivid img, #anyotherdivid img").lazyload({Forum: Fixing WordPress
In reply to: howto check user level or rolei tried, does’nt seem to work. For comment author would it be like
<?php
global $comment ;
comment_author() ;
if ( $comment->user_level == 1 )
{
echo ‘User is an Author’;
}
else
{
echo ‘User is not an Author’;
}
?>