Skip to content

Snippet: Remove Term Description from Paginated Pages

Most themes by default display the term description on all paginated pages of your taxonomy archives, however, you can easily hook into the WordPress term_description function to remove it from a paginated pages like such:

add_filter( 'term_description', function( $description ) {
	if ( is_paged() ) {
		return '';
	}
	return $description;
} );
All PHP snippets should be added via child theme's functions.php file or via a plugin. We recommend Code Snippets (100% Free) or WPCode (sponsored)
Back To Top