So Thumper knows I have GVoice for my voicemail… and he knows I get a text message and email of his transcription.

Sometimes I end up just forwarding the email to the caller with my response. Here is Thumper Nagasako’s most recent message. First the Transcript:

Thumpers-Call

Now take a listen:

{ 1 comment }

So I was looking at pulling the associated taxonomy terms for a wordpress project I am working on and needed something like the_tags() for the custom taxonomies I created.

The closest thing to documentation on what I was looking for was the_tags() function

Then I dug into the category-template.php source codewhere the_tags() lived.

I found exactly what I needed. Here is the_tags() function:


function the_tags( $before = 'Tags: ', $sep = ', ', $after = '' ) {
return the_terms( 0, 'post_tag', $before, $sep, $after );
}

‘post_tag’ is just what wordpress used as their key when they decided to create the tags taxonomy, I used ‘ethnicity’, ‘eye’ and ‘hair’ for my new taxonomies.

So what you need to do is call the_terms() and it will do the same for whatever taxonomy you define.

NOTE when you create your taxonomy in your functions.php like so:


function create_taxonomies() {
register_taxonomy( 'ethnicity', 'post', array( 'hierarchical' => false, 'label' => 'Ethnicity', 'query_var' => true, 'rewrite' => true ) );
register_taxonomy( 'eye', 'post', array( 'hierarchical' => false, 'label' => 'Eye Color', 'query_var' => true, 'rewrite' => true ) );
register_taxonomy( 'hair', 'post', array( 'hierarchical' => false, 'label' => 'Hair Color', 'query_var' => true, 'rewrite' => true ) );
}

add_action( 'init', 'create_taxonomies', 0 );

be sure to add a hook for where you want to list the taxonomies:


the_terms( 0, 'ethnicity', 'Ethnicity: ', ', ', ' ' );
the_terms( 0, 'eye', 'Eye Color: ', ', ', ' ' );
the_terms( 0, 'hair', 'Hair Color: ', ', ', ' ' );
the_terms( 0, 'height', 'Height: ', ', ', ' ' );

I am not sure what the difference between using the following would be:

echo get_the_term_list( $post->ID, 'people', 'People: ', ', ', '' );

I think I am cheating by using 0 instead of $post->ID. But the first parameter is the post id, second is the name of the taonomy, third is before, fourth is the seperator, and fifth is what to print after all the terms.

I am not sure how many WP developers are using taxonomies, new in version 2.8, but would be interested in hearing feedback on my approach. When building my taxonomies I used these resources:

Custom Taxonomies in Wordpress 2.8 by Justin Tadlock

Custom Taxonomies – Theme Hybrid Support Forums

{ 0 comments }

My latest tweeT

April 28, 2009

Word RT @photomatt Jay-Z is on WordPress! 99 problems but a blog ain't one: http://www.jay-z.com/index.php

Follow Me!

{ Comments on this entry are closed }

New Archives Page

April 27, 2009

I went with Juston Blantons Smart Archives to build my Archives!

It wasn’t as easy as the 007 method but it is a lot more visualy appealing.

{ 0 comments }

So things have been moving quite quickly in the past… lets say six months. It seems like only yesterday moving to California was just a thought in my mind.

Everything is great, and if you haven’t noticed (stalk me in person or on facebook or twitter) you may not have know I was planing on moving to LA.

[insert meg's grad photo]

The beautiful Mego has finaly graduated from college, she is now in persuit of her Doctorate in Physical Therapy.

I am really excited for a new chapter in my life, a little nervous about job hunting (procrastinating with this post) and ready for some new adventures visiting family and other oddities on the continental US, “da mainland”.

I am not resolving to blog more… because in all honesty I won’t, or maybe I just want to set low expectations for this blog b/c it is such a low priority for me.

I do resolve to take more photos, I got my parents a Kodak EasyShare W1020 Digital Frame and it’s got WiFi so I intend to keep them uptodate in my adventures via the frame.

I do resolve to get into a decent routine, maybe get a couple morning rituals and bring my 24 membership to good use.

Until 2010,

Shen

{ 0 comments }

Run, Run, Run…

November 14, 2008

{ 0 comments }

Happy B-Day Ajja!

October 20, 2008

I wanted to include some link love with this years gift!

Visit my big sis’ blog, she does a post every day. She has over 300 posts, I think this is incredible!!! Take a look, she is a great photographer and puts a lot of herself into her blog.

Presenting:

Mahalo-hvala-arigato – NUMBERING MY DAYS BY THANKFULNESS”

Give her a comment, wish her happy b-day and tell her I sent you.

Shen

{ 0 comments }

The Grouch @ The Loft

August 25, 2008

The Grouch is playing September 20th @ the loft

At first glance I was pissed I missed it and had to be reminded that the flier says 9/20 not 8/20.

I have yet to visit the Loft, doubt it is still BYOB!?

More photos of The Grouch and Zion I at Next Door after the break.

continue reading…

{ 1 comment }

Sad Clown bad dub 13 preview

April 11, 2008

If your getting the delux version of WLGYLPTSG you will be recieving the new SCBD XIII.
Atmosphere are at it again bringing you their 13th installment of the Sad Clown Bad Dub series. Included with the Deluxe version of their new album When Life Gives You Lemons, You Paint That Shit Gold this limited edition Sad [...]

continue reading...

Drop Box Invites are here

April 11, 2008

So I fortunately have been surfing Techcrunch at the right time…
A few hours ago they gave our 200 invites to http://www.getdropbox.com/ take a look at their screencast, very slick!
It does syncing files between multiple computers. Does versioning.
It will be a paid service, I am currently trying out SugarSync… that is how I ran into DropBox [...]

continue reading...