> For the complete documentation index, see [llms.txt](https://talque.gitbook.io/public/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://talque.gitbook.io/public/wp-plugin/shortcodes/filters.md).

# 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`.
