View Single Post
Old 12-28-2013, 07:37 AM  
GameForAdult
Confirmed User
 
GameForAdult's Avatar
 
Industry Role:
Join Date: Mar 2011
Posts: 371
Need help with a function code

Anybody here who can help me out with this? I'm working on a new layout but stuck with one code.

I need to change the function so it includes this code
Code:
<img class="lazy" data-original="img/example.jpg" width="190" height="140">
into this function
Code:
$thumb = "<img src=\"$thumb\" $rotate_thumbs id=\"$prefix-".get_the_ID()."\" alt=\"".esc_attr($title)."\">";
Thanks
__________________
GameForAdult is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook