Profile

Achievement

first submission:submitting first snipplet

vagrantradio's Recent Snippets



« Prev 1 2 3
Removes anything that isn't a digit from input on complete.
0 2076 posted 14 years ago by vagrantradio
0 2271 posted 15 years ago by vagrantradio
Couple of ways to check if HTML5 form elements exist and use a fallback if they don't.
0 2040 posted 15 years ago by vagrantradio
If you want to simulate someone clicking on a link, use location.href. If you want to simulate an HTTP redirect, use location.replace.
0 1781 posted 15 years ago by vagrantradio
Determines if splash screen is iPad or iPhone.
0 1953 posted 15 years ago by vagrantradio
Hide the url bar on page load in webkit mobile browsers.
0 3082 posted 15 years ago by vagrantradio
Clean up the crap in wp_head(). Put it in yo functions file.
1 2122 posted 15 years ago by vagrantradio
This is a plugin for creating a dynamic video gallery. Call videos by rel tag, including title.
0 2220 posted 15 years ago by vagrantradio
Removed depreciated elements, added Firefox button dotted line removal and fixed a few other styling issues. Compressed version in the link above.
1 2548 posted 15 years ago by vagrantradio
0 2026 posted 15 years ago by vagrantradio
Prevents WordPress from loading Contact Form 7 on page templates other than the one defined.
0 2268 posted 15 years ago by vagrantradio
Posts with thumbs by category
2 1931 posted 15 years ago by vagrantradio
Easiest way to switch theme styles for WordPress demos.
1 2149 posted 15 years ago by vagrantradio
Very useful line of code that I'm using very often to prevent old and cached CSS file being served to visitors. You just need to use timestamp of the file.
0 2327 posted 15 years ago by vagrantradio
If post thumbnail doesn't exist, then get the first uploaded image. Change sizes as needed.
0 2287 posted 15 years ago by vagrantradio
Courtesy Brian Cray.
4 2359 posted 16 years ago by vagrantradio
HTML5 starting point template. Used in conjunction with HTML5 CSS reset at the above link.
12 3635 posted 16 years ago by vagrantradio
Self Explanatory
0 2437 posted 16 years ago by vagrantradio
Prints out the contents of a directory.
0 2004 posted 16 years ago by vagrantradio
Redirects to specified page ignoring specified ip address and folders.
0 2192 posted 16 years ago by vagrantradio
0 2255 posted 16 years ago by vagrantradio
Exclude category slugs, only shows parent cats.
0 1953 posted 16 years ago by vagrantradio
Removes all but the text widget, look them up: /wp-includes/default-widgets.php.
0 2008 posted 16 years ago by vagrantradio
Dump it in your functions file and stare at the amazing blank page when you log in!
0 1942 posted 16 years ago by vagrantradio
Loads WordPress header for external functions like get_option();
0 1993 posted 16 years ago by vagrantradio
Reworked CSS reset I use in projects. *Updated, added input type font inheritance and removal of firefox button outline, removed depreciated items; center, font, applet, big, s, u, tt, strike, menu & acronym. Uncompressed version in the link above.
3 2947 posted 16 years ago by vagrantradio
Generic function to test whether and element supports a particular element in HTML5.
0 1893 posted 16 years ago by vagrantradio
Customize as needed using user roles.
0 2537 posted 16 years ago by vagrantradio
« Prev 1 2 3