# Show Category Descriptions on the First Page Only

> Hides category, tag and taxonomy descriptions on page 2 and beyond of an archive, so long intro texts are not repeated on every page.

- Type: PHP
- Runs: Run everywhere
- Category: [Archives](https://wpide.com/library/category/archive/)
- Tags: archives, descriptions, pagination
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/term-description-first-page-only/

## Code

```php
add_filter( 'get_the_archive_description', function ( $description ) {
    return is_paged() ? '' : $description;
} );
```

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Show Category Descriptions on the First Page Only" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
