• I am doing a nested taxonomy query on an archive page via pre_get_posts. However, this does not seem to be applied by infinite scroll. I have used developer tools to view the infinite scroll POST request and the taxonomy query does appear to be there. Any ideas?

    query_args[tax_query][0][0][taxonomy]:category
    query_args[tax_query][0][0][terms][]:news
    query_args[tax_query][0][0][field]:slug
    query_args[tax_query][0][0][operator]:IN
    query_args[tax_query][0][0][include_children]:true
    query_args[tax_query][1][0][taxonomy]:location
    query_args[tax_query][1][0][field]:slug
    query_args[tax_query][1][0][terms][]:新华路-长宁区-021
    query_args[tax_query][1][0][include_children]:false
    query_args[tax_query][1][1][taxonomy]:location
    query_args[tax_query][1][1][field]:slug
    query_args[tax_query][1][1][terms][]:长宁区-021
    query_args[tax_query][1][1][include_children]:false
    query_args[tax_query][1][2][taxonomy]:location
    query_args[tax_query][1][2][field]:slug
    query_args[tax_query][1][2][terms][]:021
    query_args[tax_query][1][2][include_children]:false
    query_args[tax_query][1][relation]:OR
    query_args[tax_query][relation]:AND

    https://ww.wp.xz.cn/plugins/jetpack/

Viewing 1 replies (of 1 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Could you post the code you used to customize your loop, as well as the code you used to add Infinite Scroll support to your theme, so I can run some tests on my end?

    Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Nested Taxonomy Query in Infinite Scroll’ is closed to new replies.