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

26587 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 1772 posted 15 years ago by vagrantradio
0 1693 posted 15 years ago by vagrantradio
Prevents WordPress from loading Contact Form 7 on page templates other than the one defined.
0 1922 posted 15 years ago by vagrantradio
Posts with thumbs by category
2 1585 posted 15 years ago by vagrantradio
Easiest way to switch theme styles for WordPress demos.
1 1733 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 2020 posted 15 years ago by vagrantradio
If post thumbnail doesn't exist, then get the first uploaded image. Change sizes as needed.
0 1976 posted 15 years ago by vagrantradio
Self Explanatory
0 2040 posted 15 years ago by vagrantradio
Prints out the contents of a directory.
0 1624 posted 15 years ago by vagrantradio
Exclude category slugs, only shows parent cats.
0 1540 posted 15 years ago by vagrantradio
Removes all but the text widget, look them up: /wp-includes/default-widgets.php.
0 1655 posted 15 years ago by vagrantradio
Dump it in your functions file and stare at the amazing blank page when you log in!
0 1624 posted 15 years ago by vagrantradio
Loads WordPress header for external functions like get_option();
0 1662 posted 15 years ago by vagrantradio
Customize as needed using user roles.
0 2164 posted 15 years ago by vagrantradio
Display anything based on the time of day
3 1560 posted 15 years ago by vagrantradio
Detect and echo browser version including differentiating between Chrome and Safari.
3 2411 posted 16 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 2003 posted 16 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 1675 posted 16 years ago by vagrantradio
Gives you the option to select a custom gravatar in the Wordpress discussion setting in admin dashboard
1 1475 posted 16 years ago by vagrantradio
Uses ajax upload from http://valums.com/ajax-upload/. Complete working script with front and back end validation. Enjoy.
1 2061 posted 16 years ago by vagrantradio
Creates a tiny url for posting on twitter etc.
1 2396 posted 16 years ago by vagrantradio
« Prev 1 Next »