Archive for January, 2010

MikeFinazzo: I love a good &qu…

Jan
29
2010

MikeFinazzo: I love a good “Touch Tunes” battle at the bar. Take THAT Oasis-fan-guy!!

Category: Comedy
Tag:

MikeFinazzo: Tickle Me Excited…

Jan
29
2010

MikeFinazzo: Tickle Me Excited (with large felt hands) – RT @ajgreenb – http://bit.ly/bG0uQm #muppets

Category: Comedy
Tag:

Let Users Know That Your Twitter Feed’s Down, Not Missing

Jan
23
2010

The only thing worse than the good ‘ole “Fail Whale” when you try checking out a Twitter profile, is when Twitter’s slowness effects the content on your site.

A lot of sites are using Widgets and Sidebar space to display their user timeline. This can be very handy to display the last x number of posts (for info on how to to add a Twitter Feed, check out the post “Integrating a Twitter Feed onto Your Site“).

Category: Blog

Link back to a post’s category archive

Jan
1
2010

Kind of annoying that the only pre-set WordPress code for this type of thing prints the link and doesn’t let you use it as a variable. This is very useful as a “back” button and keeps the user within your site if they got to the specific post from outside, which wouldn’t be the case if you used a Javascript onClick=”history.go(-1)“. The only caveat here is if you have a post tagged in more than one category. This defaults to the category in the 0 position of the array returned from “get_the_category”, which I believe defaults to the category with the lowest ID#.

<?php
 $category = get_the_category($post->ID);
 $first_cat = $category[0]->cat_ID;
 $category_link = get_category_link($first_cat);
 ?>
Category: Blog
Tags: ,