Term list block. Displays a list of all terms in the selected taxonomy.
| Author: | Toro_Unit (Hiroshi Urabe) (profile at wordpress.org) |
| WordPress version required: | 6.0 |
| WordPress version tested: | 6.3.8 |
| Plugin version: | 2.1.0 |
| Added to WordPress repository: | 18-09-2020 |
| Last updated: | 06-09-2023
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
| Rating, %: | 96 |
| Rated by: | 4 |
| Plugin URI: | https://github.com/team-hamworks/terms-block |
| Total downloads: | 4 675 |
| Active installs: | 40+ |
![]() Click to start download |
|
Term list block. Displays a list of all terms in the selected taxonomy.
You can change the display by placing a template file in your theme.
- template-parts/blocks/terms-block/
block-name–block-style.php - template-parts/blocks/terms-block/
block-name.php
Filter for get_terms.
add_filter( 'terms_block_get_terms_arguments', 'my_filter', 10, 3 );
function my_filter( $args, $taxonomy, $attributes ) {
$args = array_merge( $args, array( 'orderby' => 'order' ) );
return $args;
}
ChangeLog
