Basic Custom Taxonomy Field Shortcode
-
Hi David,
I first want to say how glad I am to have found this plugin and to thank you for your work on it. I should also say that the functionality works just fine, but I am having trouble doing what is basically a change for the purposes of the client interface. I have many PDFs in my media library. If I add a category using “Att. Category” I can easily get them to display, by Att. Category, with this shortcode:
[mla_gallery post_parent=all orderby=title order=desc post_mime_type=application/pdf link=file mla_target="_blank" attachment_category=indexed]
But, what I would really like to do is add a custom taxonomy to the media library and manage the category that way. So, I added a custom taxonomy called Document Types (slug: document-type) and assigned two values: “indexed” and “not-indexed”. So, with that in place, it seems like I should be able to use this shortcode:
[mla_gallery post_parent=all orderby=title order=desc post_mime_type=application/pdf link=file mla_target="_blank" meta_key="document-type" meta_value="indexed"]
I have made sure that there are documents that are in the custom taxonomy. I can even sort my files in the Media Library using them. I just can’t get a shortcode that will pull them out. What am I missing? I’ve been over the tax_query documentation but I get an error when ising it so maybe this is just User=ID ten T. Thanks in advance for any help you may be able to offer.
Graham
- The topic ‘Basic Custom Taxonomy Field Shortcode’ is closed to new replies.