Profile
Achievement

LuckyShot's Recent Snippets
- All /
Gets seconds and returns it like Facebook/Twitter style: "2 minutes ago", "9 hours ago", etc...
The script actually returns "1 minute", "17 days"... so that you can customize it: "3 seconds ago", "in 1 minute", "will take 4 days", etc.
0
395
posted 10 years ago by LuckyShot
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
207
posted 10 years ago by LuckyShot
HTML
Web Template - HTML, CSS and JS ready to start coding (1KB 960px mod, Yahoo Reset, jQuery, XHTML strict)
2
722
posted 11 years ago by LuckyShot
Disable Firebug and plugins, close other tabs and close other programs for more accurate results!
1
187
posted 11 years ago by LuckyShot
Extracts the most recent tweet from the users RSS feed and auto-detects links.
1
335
posted 11 years ago by LuckyShot
Variables not dependant on the loop, can be used as GET params
0
307
posted 11 years ago by LuckyShot
Bayesian Rating is using the Bayesian Average. This is a mathematical term that calculates a rating of an item based on the “believability†of the votes. The greater the certainty based on the number of votes, the more the Bayesian rating approxi...
1
254
posted 11 years ago by LuckyShot
Detects all anchor links in a page and makes them go to the place smoothly.
0
204
posted 11 years ago by LuckyShot
To call it just put <?php> in your template file within the loop.
2
310
posted 11 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
206
posted 11 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
204
posted 11 years ago by LuckyShot
Creates custom loop to avoid interfeering with the loop of the page
1
171
posted 11 years ago by LuckyShot