---
title: "ExcludeDisplayedNewsViewHelper"
manual: "News system"
version: "main"
permalink: "https://docs.typo3.org/permalink/georgringer/news:excludedisplayednewsviewhelper@main"
source: "Reference/ViewHelpers/ExcludeDisplayedNewsViewHelper.rst"
rendered: "2026-09-23T19:24:09+00:00"
---

# ExcludeDisplayedNewsViewHelper {#excludedisplayednewsviewhelper}

ViewHelper to exclude news items in other plugins

**Type:** Basic

## General properties {#general-properties}

| Name: | Type: | Description: | Default value: |
| --- | --- | --- | --- |
| \* newsItem | Tx_News_Domain_Model_News | current news item |  |

## Examples {#examples}

### Basic example {#basic-example}

Code:

```php
<n:excludeDisplayedNews newsItem="{newsItem}" />

```

Output:

```php
None
```
