B
B
Bogdan2018-10-01 15:32:24
WordPress
Bogdan, 2018-10-01 15:32:24

Parameter name == taxonomy name?

Hello, tell me please.
I do filtering in the archive-{post-type}.php file, I have a fashion taxonomy, but when I specify it in the parameters and specify a non-existent name, for some reason it redirects to a 404 error page.
5bb211dae3703779568631.jpeg
if I specify an existing taxonomy value in the parameter, then the archive-{post-type}.php file is used. Tell me
5bb2134579151727419026.jpeg
how to fix this? I want to pass for example ...&fashion=[35,36], which would then be used for filtering in WP_QUERY. Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Sobolev, 2018-10-01
@san_jorich

maybe because you indicate

non-existent name for some reason
?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question