Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I found that I can do <?php wp_tag_cloud( array( 'taxonomy' => 'name', 'format' => 'list' ) ); ?>

But I want the list to be seperated by the letter. Alphabeticaly is what I want. So it would display the letter A then all names with that letter and the letter B with all of the b's and so on.

Any ideas?

share|improve this question
    
please go back to your old questions and accept some answers 25% accept rate is not cool. –  Bainternet Jun 1 '11 at 21:12
add comment

1 Answer

up vote 0 down vote accepted

What exactly do you mean by separated?

If you want multiple tags clouds you will probably need to:

  • fetch full list of terms;
  • split it into groups by your criteria;
  • call wp_tag_cloud() for each group, using include argument to use specific subset of terms.
share|improve this answer
    
Well I want to have a page listing all of the custom taxonomies. Then within each letter I want it to be separated but using multiple tag clouds is probably the best way to go. –  Spewf Jun 2 '11 at 6:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.