Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter angusveitch

    (@angusveitch)

    That seems to have worked – amazing! Thanks so much for that code.

    One odd glitch is that the pagination block lists lots of blank pages – perhaps it isn’t aware of the filter? Similarly, a WP Grid Builder facet can filter the results (which is fantastic!), but the result counts it shows next to the terms are not accurate, presumably because they reflect unfiltered results.

    Also, I don’t suppose there is a way to order the results by the term counts of the shadow terms? A quick google suggests that a custom filter can sort results by a meta field, but can we build a bridge to the shadow term properties?

    Thread Starter angusveitch

    (@angusveitch)

    Thanks Phil, it was indeed already working, I just didn’t know where to look for the evidence. I can see checkboxes for tagging posts with the shadow terms. And having tagged some posts, I can add a filter facet (using WP Gridbuilder) to filter a query loop with the shadow terms. This is fantatstic, and gets me almost all the way to where I need to be.

    The other thing I want to do is create a query of posts based on a shadow term. So in the page template for my custom post type, I want to list all of the normal posts that have been tagged with the custom post’s shadow term. Is this doable?

Viewing 2 replies - 1 through 2 (of 2 total)