New answers tagged

1

There's no pre-built field in the core for this, and I don't know of any plugin that provides something like this. However, you can build your own pretty easily! For example, let's say you want a matrix block that will automatically find entries based on filters selected in the matrix block. You can solve that by providing fields in the matrix block and ...


3

Since you have two sections, you will need your two initial queries, however, in your example, although you are eager loading the children (with(children)), you are querying them a second time when doing page.descendants.all(). Because you are doing this for every parent, things are adding up and you are hiting this high query count and speed issue. First, ...


Top 50 recent answers are included