Adam Trickett

Website designer & developer

Archive for July, 2011

Trim and format Wordpress post content as an excerpt

0

By default, when you access the Wordpress $post object, the $post->post_excerpt item is always empty UNLESS you manually handcrafted an excerpt for that particular post. This portion of code is a workaround if you only need the excerpt. It trims… [Read More]

Aside #351

0

Nothing more is more satisfyingly hilarious on a busy afternoon in Fremantle than leaving a good friend thinking “WTF just happened?”.

Having just parted ways 5 minutes earlier, we (my partner Danielle and I) ring up and tell the previously said friend he left his loaf of bread in our car. Asking him to wait where he was, we quickly drove up to him, wound down the window, announced very loudly “Package for Mr Patterson?”, waved goodbye and drove off around the corner. While the look on his face was gold, the looks on the faces of bystanders were priceless. We haven’t laughed that much in a long time.

No excuse

0

At least 1, maybe 2 cups of Yahava’s finest.

Social status update #346

0

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque sagittis, nisi sit amet ullamcorper egestas, ante lectus venenatis eros, et molestie purus magna et mauris. Suspendisse congue lacinia enim. Vivamus sed rhoncus odio. Aliquam erat volutpat. Pellentesque posuere blandit augue non interdum…

No I do not speak latin. I’m testing something…

Social status update #345

0

Bed or code?…mmm maybe just a few more minutes…I’ll go as soon as I figure this website/Twitter Publisher out…

Aside #344

0

I’ve been using this little snippet for this sites print styles. It grabs (via CSS!!!) the alt attribute and crams it in there as HTML.

img.as-text { content: attr(alt); }

I might expand upon this later. Kudos to @jakegonzales for spotting that one.

Tipper - Razor Back

0

 | 

I'm a programmer, not a linguist

0

Nothing irks me more than when I meet with or read an email from prospective client, they use phrases such as "we are looking for a cohesive approach to both xyz and abc with a strong focus on 123". Stop… [Read More]