How to use category name to filter documents
-
I was killing myself how to fix this. See the message I composed below what I’ve tried already. However I figured it out by searching in the database:
Working code
[display-posts post_type="document" posts_per_page="50" orderby="title" order="ASC" taxonomy="wpdr-file-categories" tax_term="verkoop"]
Original Question
Is there a way to only show documents by category? I have tried everything that I can think of. This is the code I use, everything works perfectly except for the category filter:[display-posts post_type="document" posts_per_page="50" orderby="title" order="ASC" category="verkoop"]
I’ve tried: category= / categories= / category_name= / wpdr-file-categories= / term= / term_id= / term_taxonomy_id= / taxonomy= /
All of them in both uppercase and lowercase combinations.The document itself is published, public and final.
- The topic ‘How to use category name to filter documents’ is closed to new replies.