Skip to content

[Feature request] Add a way to identify blocks in aql_query_vars filter #122

@tobaco

Description

@tobaco

It would be very useful to have a way to identify the current block in the aql_query_vars filter. I use several AQL blocks throughout the website and need to adjust the $query_args for some of them.
To do this only for the desired blocks, it would be good if you could easily distinguish the blocks in the filter. This could be done either via a special field (e.g., Block ID) or via the existing CSS class field. The important thing here is that you can access it in the filter (e.g., via an entry in $block_query).

Currently, I set a special date as a date query, which I then use to identify the corresponding block. However, this is not ideal...

Or is there perhaps already a corresponding option?

Thank you!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions