LuckyShot


Member since 10/11/2009

13 snippets

586 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

LuckyShot's Recent SnippetsTagged wordpress



« Prev 1 Next »
A member of Wordpress community says: I placed this code on my site and it instantly cut my page load times from 4-8 seconds per page (and typically on the high end of that) down to 1-3 seconds per page and EVERYTHING on my site works as it did befor...
1 73 posted 10 years ago by LuckyShot
Variables not dependant on the loop, can be used as GET params
0 103 posted 10 years ago by LuckyShot
Where 123 is the post/page ID.
0 92 posted 10 years ago by LuckyShot
To call it just put <?php> in your template file within the loop.
2 118 posted 10 years ago by LuckyShot
Add to your functions.php in the active template. Remove commented text. Fat/Thin char detection still not implemented. I'll update it as soon as I get some time. If you come with it please let me know :)
0 71 posted 10 years ago by LuckyShot
TimThumb should be in the template folder named as "thumb.php". Change H (height in px), W (width in px), Q (quality 0-100), ZC (zoom cropping 0-1) values. You can provide only one of the dimensions of the picture to get a proportional scale.
1 71 posted 10 years ago by LuckyShot
Creates custom loop to avoid interfeering with the loop of the page
1 49 posted 10 years ago by LuckyShot
1 51 posted 10 years ago by LuckyShot
« Prev 1 Next »