I have added two custom taxonomies to wordpress media library audio_cats and audio_tags. Using a plugin, I have uploaded some mp3s and have attached to these two taxonomies. My media library structure looks like this
Taxonomy audio_cats has these categories -MJ --album1 (3songs) --album2 (4songs) --album3 (1 song) Taxonomy audio_tags has these tags -mp3 -MJ
what I want is.
index.php -> show all audio_cats (parent only) as a link with total number of child_cats inside and total number to audio assigned to it. For example MJ (3 albums and 8songs) to be shown on MJ cats
taxonomy.php -> When a parent category is clicked, it should take to the page where 1) if there are sub cats assigned, it should list them all otherwise list all the songs assigned to it as a link
attachment.php -> if song name is clicked it runs the player.
audio_tags is displayed as a tag cloud
I hope I make myself clear and anticipate your feedback.