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

6823 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 657 posted 13 years ago by vagrantradio
0 641 posted 13 years ago by vagrantradio
Prevents WordPress from loading Contact Form 7 on page templates other than the one defined.
0 765 posted 13 years ago by vagrantradio
Posts with thumbs by category
2 640 posted 13 years ago by vagrantradio
Easiest way to switch theme styles for WordPress demos.
1 682 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 738 posted 13 years ago by vagrantradio
If post thumbnail doesn't exist, then get the first uploaded image. Change sizes as needed.
0 892 posted 13 years ago by vagrantradio
Self Explanatory
0 787 posted 13 years ago by vagrantradio
Prints out the contents of a directory.
0 642 posted 13 years ago by vagrantradio
Exclude category slugs, only shows parent cats.
0 574 posted 13 years ago by vagrantradio
Removes all but the text widget, look them up: /wp-includes/default-widgets.php.
0 637 posted 13 years ago by vagrantradio
Dump it in your functions file and stare at the amazing blank page when you log in!
0 591 posted 13 years ago by vagrantradio
Loads WordPress header for external functions like get_option();
0 623 posted 13 years ago by vagrantradio
Customize as needed using user roles.
0 956 posted 13 years ago by vagrantradio
Display anything based on the time of day
3 565 posted 13 years ago by vagrantradio
Detect and echo browser version including differentiating between Chrome and Safari.
3 848 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 771 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 575 posted 14 years ago by vagrantradio
Gives you the option to select a custom gravatar in the Wordpress discussion setting in admin dashboard
1 555 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 895 posted 14 years ago by vagrantradio
Creates a tiny url for posting on twitter etc.
1 1271 posted 14 years ago by vagrantradio
« Prev 1 Next »