vagrantradio


Member since 06/19/2009

Name: Jason

vagrantradio

Location: Grand Rapids, MI

Website: http://www.paradox-labs.com

Front end developer. Cubicle Jockey. CssNinjaRockstarPirateViking.

23 snippets

7243 profile views

13 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

vagrantradio's Recent PHP Snippets



« Prev 1 Next »
Clean up the crap in wp_head(). Put it in yo functions file.
1 690 posted 13 years ago by vagrantradio
0 668 posted 13 years ago by vagrantradio
Prevents WordPress from loading Contact Form 7 on page templates other than the one defined.
0 797 posted 13 years ago by vagrantradio
Posts with thumbs by category
2 665 posted 13 years ago by vagrantradio
Easiest way to switch theme styles for WordPress demos.
1 712 posted 13 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 767 posted 13 years ago by vagrantradio
If post thumbnail doesn't exist, then get the first uploaded image. Change sizes as needed.
0 920 posted 13 years ago by vagrantradio
Self Explanatory
0 815 posted 13 years ago by vagrantradio
Prints out the contents of a directory.
0 664 posted 13 years ago by vagrantradio
Exclude category slugs, only shows parent cats.
0 602 posted 13 years ago by vagrantradio
Removes all but the text widget, look them up: /wp-includes/default-widgets.php.
0 659 posted 13 years ago by vagrantradio
Dump it in your functions file and stare at the amazing blank page when you log in!
0 613 posted 13 years ago by vagrantradio
Loads WordPress header for external functions like get_option();
0 650 posted 13 years ago by vagrantradio
Customize as needed using user roles.
0 987 posted 13 years ago by vagrantradio
Display anything based on the time of day
3 592 posted 13 years ago by vagrantradio
Detect and echo browser version including differentiating between Chrome and Safari.
3 886 posted 13 years ago by vagrantradio
Had many people ask me how I display all posts in a category when they click on the category link in the header @<a href="http://www.vagrantradio.com">http://www.vagrantradio.com</a>. There's a lot more involved, but here's the quick and dirty;
0 796 posted 14 years ago by vagrantradio
This will create a bookmark link to send a Wordpress post to your Evernote Account similar to the send to Google reader feature on the Evernote blog.
0 595 posted 14 years ago by vagrantradio
Gives you the option to select a custom gravatar in the Wordpress discussion setting in admin dashboard
1 577 posted 14 years ago by vagrantradio
Uses ajax upload from http://valums.com/ajax-upload/. Complete working script with front and back end validation. Enjoy.
1 926 posted 14 years ago by vagrantradio
Creates a tiny url for posting on twitter etc.
1 1303 posted 14 years ago by vagrantradio
« Prev 1 Next »