Query midi files of certain category
-
Hi,
I’m trying to do something, that seemed very simple, but didnt get it to work:
I have have in my library midi files, mp3 files, immages and pdfs. additionally to the mime type i categorized those files with midi, mp3 and so on.
And they are actegorized with “tenor” “alt”, “sopran” etc.
Now I want to display all files that are in the category “midi” and “tenor” for example in a gallery.
I used this shortcode:[mla_gallery post_mime_type=all mla_caption="{+title+}" tax_query=array(array('taxonomy'='attachment_category','field'='slug','terms'='tenor'),array('taxonomy'='attachment_category','field'='slug','terms'='midi'),'relation'='AND')]
The result has nothing to do with what i wanted. Also the files are not downloadable directly. I have to click on the link again.
Any hint how to accomplish that? Shouldn’t be so difficult.
Thanks in advance!
The page I need help with: [log in to see the link]
- The topic ‘Query midi files of certain category’ is closed to new replies.