Archived topic
Use Static Pages as Taxonomy Archives
3 replies · Started by Seb on April 8, 2021
Hello, I am currently using static pages to customize my category archives. I used the code provided by WpShowPosts (https://docs.wpshowposts.com/article/use-static-pages-as-category-archives/) and it works.
I wish is that it works the same for the taxonomy archives. I can't customize the code to make it work. Can you help me ? Thank you!
Hi there,
you should simply be able to change the query var referenced in that code which is currently: ['category_name']
Try: ['taxonomy_name']
Thanks David, it works!
It was simple as I searched for a long time ^^
Awesome - i wasn't sure - just thought it might be worth a shot lol
Glad to be of help.
