Term list block. Displays a list of all terms in the selected taxonomy.
Author: | HAMWORKS (profile at wordpress.org) |
WordPress version required: | 6.0 |
WordPress version tested: | 6.3.3 |
Plugin version: | 2.1.0 |
Added to WordPress repository: | 18-09-2020 |
Last updated: | 06-09-2023 |
Rating, %: | 96 |
Rated by: | 4 |
Plugin URI: | https://github.com/team-hamworks/terms-block |
Total downloads: | 2 535 |
Active installs: | 50+ |
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