[Resolved] Use Static Pages as Taxonomy Archives

Home Forums Support [Resolved] Use Static Pages as Taxonomy Archives

Home Forums Support Use Static Pages as Taxonomy Archives

  • This topic has 3 replies, 2 voices, and was last updated 3 years ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1725935
    Seb

    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!

    #1726072
    David
    Staff
    Customer Support

    Hi there,

    you should simply be able to change the query var referenced in that code which is currently: ['category_name']

    Try: ['taxonomy_name']

    #1726149
    Seb

    Thanks David, it works!

    It was simple as I searched for a long time ^^

    #1726169
    David
    Staff
    Customer Support

    Awesome – i wasn’t sure – just thought it might be worth a shot lol
    Glad to be of help.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.