I'm using a plugin called "Multi-Column Tag Map" that lets you display all tags that were used and arrange them in a alphabetical order. This plugin works fine in a regular post-type but It's not working on a custom post-type that I created. I created a new post-type called 'books' and has an additional taxonomy(Tags) of 'Writers' and 'Tags'.

The purpose of this plugin on my site is to list all tags that we're used for the books. So user can just go to that page and browse articles/books by tags that were used.

I also tried Helgatheviking solution, It's similar to the plugin (Multi-Column Tag Map). But I'll just be sticking on customizing the plugin for the meantime as the plugin already provide some formatting. I just need to deal with get_terms().

My current problem is when using Helgatheviking or the Multi-Column Tag Map plugin solution, they're both using get_terms(). and get_terms() only fetch tags that in my posts and not in my custom post-type ('books'). I wanted to fetch tags from my custom post type.

So I did a little search and found this get_terms_by_post_type() by Bainternet. I think this is the solution in fetching tags to a certain post-type get_terms().

So this is what I did (code below), Unfortunately I have an error in my foreach(). It said
"Warning: Invalid argument supplied for foreach() in mctagmap.php on line 366"

Additional Details:

post-type i'm targeting = 'the_books'

taxonomy i'm targeting = 'book_tags', 'book_writers' -- This might sound dumb, but I use 'post_tag' below instead of any of those two because I want to target the two of them.

Hi Helga, I was also playing around with this code. the get_terms() above only spits tag/category on the native post-type. Is there a way i can fetch tags to a certain post-type?
–
Pennf0lioJan 14 '12 at 15:36