# Filters

### Filtering lectures

The shortcodes that display a collection of lectures accept further arguments to narrow down the lectures to a subset. These are&#x20;

* `tags="tag1,tag2"` where the tag codes are the internal codes for the lecture tags. Type `data.org.tagLabels` in the javascript console for the mapping to their translated label. &#x20;
* `formats="format1, format2"` where the format codes are the internal codes for the lecture formats. Type data.org.formatLabels in the javascript console for the mapping to their translated label.
* `topics="topic1, topic2"` where the topic codes are the internal codes for the lecture topics

For example, the complete shortcode would look like

```
[talque-lecture-list tags="xyz"]
```

{% hint style="info" %}
The quotation marks in WP shortcodes must be the normal ASCII (straight) quotes, and not the left/right quotation marks. If you use the wrong kind of quotation marks then wordpress will ignore the argument. For example, this does not work: `[talque-lecture-list tags=“xyz“]`
{% endhint %}

### Filtering Sponsors

To display only a subset of the sponsor categories, use

```
[talque-sponsor-grid sponsors="cat1,cat2"]
```

The internal codes of the sponsor categories can be seen when you type `data.org.vendorLabels` into the javascript console.

### Filtering Exhibitors

To display only a subset of the exhibitor categories, use

```
[talque-exhibitors-grid exhibitors="cat1,cat2"]
```

The internal codes of the exhibitor categories can be seen when you type `data.org.exhibitorLabels` into the javascript console.

### Referencing Historic Events

The event for which the speaker/lecture/... data is displayed is determined by its organization ID, which you set in the Wordpress admin interface. However, you can override this setting in a shortcode in order to display last year's speakers, for example. All shortcodes accept an optional `org-id="..."`argument, so for example

```
[talque-speaker-grid org-id="xyz123"]
```

will display the speakers from the event whose id is `xyz123`.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://talque.gitbook.io/public/wp-plugin/shortcodes/filters.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
