Consumer Ignore

Hello,

The context is this:

  • An Archive layout, assigned to a taxonomy
  • To display the terms in that taxonomy

Structure:

Layout
– Grid
—Cell (Consumer)
----Elements

Problem

Within the taxonomy are items of type A & B

  • I want to display all the type A items
  • And ignore the type B items

Challenge

  • Once the layout is called as a front end page, the consumer sees a stream of terms, in the query run by Wordpress
  • The Cell (Consumer above) is created once per term
  • Even if I set conditions on the elements within the Cell, I can’t stop the Cell being created for type B
  • This leads to an empty Cell for type B, taking up space

Can you think of a way to exclude type B which doesn’t cause the creation of a front end element?

Happy new year! Bill.

Hi Bill,

Thank you for your inquiry.

Have you tried applying a Looper Provider > Query Builder to the Grid element? This should allow you to control which terms or posts are displayed or consumed within the cells. However, since this overrides the default query, it will affect pagination and may require a custom implementation.

If you can provide the site details in the secure note, we’ll try to check it further.

Best regards,
Themeco

The provider is Wordpress, this is a taxonomy archive layout, so Wordpress handles the incoming query provider. This is an intellectual challenge for Pro, as it breaks the model, when handling the posts being delivered to the Consumer.

It seems to be working correctly on our end. Have you tried applying the Post (has term) condition to the cell in order to select or exclude specific categories?